• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

sort — \windows\system32\sort.exe

Synopsis

The sort command sorts text on a line-by-line basis. sort is often used in conjunction with either pipes or output redirection (see the beginning of this chapter), wherein you can sort the output of another command. sort takes the following options:

sort [/r] [/+n] [/m kilobytes] [/rec recordbytes]
   [/t [tempdir]] [/o outputfilename] [filename]

Option

Description

/r

Reverses the sort order; that is, sorts Z to A, then 9 to 0.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint