Sort
Sorts a list or vector.
Syntax
sort(List | Range | Vector)
sort(List | Range | Vector, Function)
Description
Sorts a list, range or vector in ascending order.
Given a list, range or vector, and a function previously defined, sorts the elements in ascending order. The comparison is specified by the function.