Sort (Unix)

Sort (Unix)

In Unix-like operating systems, sort is a standard command line program that prints the lines of its input or concatenation of all files listed in its argument list in sorted order. Sorting is done based on one or more sort keys extracted from each line of input. By default, the entire input is taken as sort key. Blank space is the default field separator.

The "-r" flag will reverse the sort order.

Read more about Sort (Unix):  Sorting Algorithm

Famous quotes containing the word sort:

    The writer who aims at producing the platitudes which are “not for an age, but for all time” has his reward in being unreadable in all ages.... The man who writes about himself and his own time is the only sort of man who writes about all people and about all time.
    George Bernard Shaw (1856–1950)