sort()

Sort a given list.

Synopsis

sort(list-expression)

Description

This function returns a sorted copy of the given list parameter.

Parameters

list-expression

An expression that evaluated to a list.

Returns

Returns a sorted copy of the list.

Examples

The action sort(list(3,1,4,5,2)) will return a sorted list containing 1,2,3,4,5.

See Also

list(), shuffle()