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.
public enum CellRangeSortType
| 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. |