Working title sorting

Implemented sorting of pages based on the title tag.