All functions / Dynamic arrays

SORT

Sorts a range. The result spills.

Syntax

=SORT(array, [sort_index], [sort_order], [by_col])

Arguments

Example

=SORT(A2:B20, 2, -1) → Rows sorted by column 2, largest first

Practise it