sort

Settable:
no
Arguments:
(1) integer array
(2) string array
(3) room array
Return Value:
(1) integer array
(2) string array
(3) room array

This function returns the array that is passed to it, sorted in "increasing" order. The order is what you would think for integers and rooms, and is lexicographic order for strings. Thus

   sort(['a','c','d','b','e'])

would produce

   ['a','b','c','d','e']