or download this
Sorts the LIST and returns the sorted list value.
If SUBNAME or BLOCK is omitted, "sort"s in stan-
...
name of (or a reference to) the actual subroutine
to use. In place of a SUBNAME, you can provide a
BLOCK as an anonymous, in-line sort subroutine.