SortOptions
23 Sep 20251 minute to read
Specifies the options for sorting in a spreadsheet.
Properties
caseSensitive boolean
Specifies whether the sorting operation should be case-sensitive.
```
containsHeader boolean
Specifies whether the range being sorted contains headers.
If set to true, the first row of the range is considered as headers and will not be sorted.
sortDescriptors SortDescriptor|SortDescriptor[]
Specifies the descriptors (criteria) for sorting.
This can be a single descriptor or an array of descriptors if multiple columns need to be sorted.