Defines the sorting order types applied to a range of cells within a sheet, whether the data should be sorted in ascending or descending order.
lt.Document.SheetEditor.CellRangeSortType = {
ascending: 0,
descending: 1
}
Value | Name | Description |
---|---|---|
0 | ascending |
Sorts the cell range in ascending order. This is typically used to sort data from the lowest to the highest value (e.g., numerically or alphabetically). |
1 | descending |
Sorts the cell range in descending order. This is used to sort data from the highest to the lowest value. |