Sorting reorders the rows of a range according to the values of one or more columns, in ascending or descending order, or following a custom order. A multi-level sort breaks ties. You must select the whole range, headers included, so that rows stay consistent.
Example
Sort first by region from A to Z, then by descending revenue.