Sorts an array or range by one or more columns.
=SORT(A2:B10, 2, TRUE) returns the rows of A2:B10 sorted by column 2 in ascending order.