sort - perldoc.perl.org
sort SUBNAME LIST sort BLOCK LIST sort LIST In list context, this sorts the LIST and returns the sorted list value. In scalar context, the behaviour of sort() is undefined. If SUBNAME or BLOCK is omitted, sorts in standard string comparison order. If SUBN...