The Google Sheets SORT function allows you to sort data and return the rows in a range either in ascending or descending order. You can use it to sort data alphabetically, numerically, or even by date, and you can sort both vertically and horizontally.
SYNTAX: =SORT(range, sort_column, is_ascending, [sort_column2, is_ascending2, …])
range is the group of cells that you want to apply the sort function on (the cells that you want to sort)
sort_column is the main column by which you want to sort the data in the range.
is_ascending specifies if the range should be sorted in ascending or descending order of the sort_column. It can either be TRUE or FALSE, with a FALSE representing a ‘descending’ order.
PRACTICE SHEET
The below sheet is view only mode, please make a copy to practice.