                            SORT

SORT is an external command that rearranges the lines of text in a file
or keyboard input into alphanumeric order. 

    SORT[/R][/+n] [<[d1:][pathname1]filename1[.ext1]] [>filename2[.ext2]]
		     \____________________________/	\_____________/
				\input			  \output

/R allows you to sort in reverse alphanumeric order. The default is to
    sort in ascending order. See the ORDERING topic for details.

/+n is the column number to start sorting on. The default is column 1.
If you wanted to start the sort on column 20, you would specify /+20.

<[d1:][pathname1]filename1[.ext1]] is the name of the input file you 
    want to sort.  Notice the <. With SORT, you must use <(redirection) 
    to read input from a file. Otherwise, SORT will expect its input to 
    be entered from the keyboard.

>filename2[.ext2] is the output file (or device) where you want to write 
    the sorted data.  Notice the >.  You must use >(redirection) to get
    SORT to write to a file. Otherwise, it will display its output on
    the screen.

Sort won't work on files over 64,512 characters long. It will sort special
(non-alphanumeric) characters like Ctrl-Z or Tab, but probably not in the
order desired. See the NEW_TERMS REDIRECTION topic for more information.
