|
libUTL++
|
sort is like UNIX sort. It uses utl::multiKeyQuickSort() to quickly sort lines of text.
You can give the -r switch to specify a reversed sort order. The lines of text to be sorted are read in from standard input, and once EOF is reached, the sort is performed, and the sorted lines are written to standard output.
For example: