Sorts a specified range of cells within the sheet according to a set of defined sorting options.
public void SortCellRange(
CellRange range,
CellRangeSortOptions sortOptions
)
range
A CellRange object specifying the range of cells to be sorted. This range defines the boundaries within which the sorting operation will be applied.
sortOptions
A CellRangeSortOptions object detailing the criteria and order for sorting the specified cell range. This includes settings such as sort direction (ascending or descending).