Get or sets the sorting type for a range of cells within a sheet that determines whether the cell range should be sorted in ascending or descending order.
Object.defineProperty(CellRangeSortOptions.prototype, 'sortType',
get: function(),
set: function(value)
)
This property can hold one of the values from the CellRangeSortType enumeration, which includes ascending
and descending
.
This property allows the user to specify the order in which the cells in a range should be sorted.