Specifies the criteria for sorting in a spreadsheet.
string
Specifies the column by which to sort. This is the name of the column or field on which sorting should be applied.
Specifies the sort order.
Function
Specifies a function used to customize the sorting logic. You can use this function to define custom sorting rules beyond basic ascending or descending order.