Don't miss out on the fact that you can sort text files use the Windows command SORT.
Simply enter command prompt in the folder with your text and enter this command followed by the file name. A file like this:
. . . will be sorted this way, with the /r operator giving you a reverse sort.
. . .you can write the results to a text file by ending the command with: >results.txt