SORT function

The SORT function sorts the contents of a range or array.