Explanation

The SORT function sorts a range using a given index, calledsort_index.

Normally, this index represents a column in the source data.

This result is dynamic; if any scores in the source data change, the results will automatically update.

Excel formula: Sort by one column

With SORTBY

TheSORTBY functioncan also be used to solve this problem.

Values can be sorted by one or more columns.

SORT returns a dynamic array of results.

Excel SORT function

The range or array used to sort does not need to appear in results.

Excel SORTBY function