If you are comfortable with the Command Prompt you can use the following command for a "Quick and Dirty" sort:
Type SortTestRaw.txt|Sort>sorttestsorted.txt
"Type" is the command to type out a file, in this case one you created and named "SortTestRaw.txt".
The vertical bar ("|") is the "PIPE" operator. It PIPES (sends) the output of the previous command (Type) to the next command (Sort).
Sort is the sort command. By default it sorts on the first column. "Sort /+n" will sort on a particular column, where "n" is the column number. Sort /+3 will sort on the third column. (Typing "Sort /R will sort in Reverse order -- A to Z instead of Z to
A.)
The greater than sign (">") is the output redirector that redirects the output of the Sort command to a file named "sorttestsorted.txt" If the file does not exist it will be created. If it does exist it will be overwritten. I find it best not to save the
sorted data on top of your original file, just in case there's a finger fault somewhere! :-D You can direct it to the local printer by replacing the file name with :prn, if :prn is defined as a printer connected to the PC. It didn't work with my WiFi connected
printer.
Command names (Type and Sort) are not case-sensitive. Filenames are. You can click on the Windows Icon and type "COMMAND" in the search box to open a COMMAND Prompt. The prefix shows the directory the command opens in. You'll have to know how to change directories
to your source file or how to specify a file in another directory.
Don't be afraid! Play with it and get comfortable. Notepad is not a Word Processor, but you can do some quick things with it if you don't need he full power of a word processor.
+++++