blank.gif (43 bytes)

Church Of The
Swimming Elephant




Reads input, sorts data, and writes the results to the screen, to a file, or to another device.

sort [/r] [/+n] [<] [drive1:][path1] filename1 [> [drive2:][path2] filename2]

[command |] sort [/r] [/+n] [> [drive2:][path2] filename2]


[drive1:][path1] filename1

Specifies the location and name of the file whose data you want to sort.

[drive2:][path2] filename2

Specifies the location and name of a file in which the sorted output is to be stored.


Specifies a command whose output is the data you want to sort.


Reverses the order of the sorting operation; that is, sorts from Z to A, and then from 9 to 0.


Sorts the file according to the character in column n. If you do not use this switch, the sort command sorts data according to the characters in column 1.

See Also

ntcmds00000001.gif filter commands

ntcmds00000001.gif redirection symbols

More Information About Sort

ntcmds00000001.gif Sort--Notes

ntcmds00000001.gif Sort--Examples


Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

Have you gone to church today?
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609