sort [-down] [-nullsfirst] [-[no]parallel] <key-list>
Sorts the table according to the value of one or more
The sort key expressions appear,
as separate (space-separated) words,
<key-list>; sorting is done on the
first expression first, but if that results in a tie then
the second one is used, and so on.
Each expression must evaluate to a type that
it makes sense to sort, for instance numeric.
-down flag is used, the sort order is
descending rather than ascending.
Blank entries are by default considered to come at the end
of the collation sequence, but if the
flag is given then they are considered to come at the start
By default, sorting is done sequentially for small tables
and in parallel for large tables, but this can be controlled
Syntax for the
<key-list> argument is described in Section 10.