sheets.sortObject

Defines the sort criteria for the sheet.

sheets.sort.columnsArray

Specifies the sort options for individual columns.

sheets.sort.columns.ascendingBoolean

Indicates if the data in the cell will be sorted in ascending (true) or descending order (false).

sheets.sort.columns.indexNumber

The index of the column within the sheet. For example, column C will have an index of 2.

sheets.sort.refString

The sorted range, for example, A1:D5.