Added Sorting by Page Title

Store off page titles and sort before writing out to the file.