[]
Sorts a range of cells on this sheet in the data model.
public bool SortRange(int row, int column, int rowCount, int columnCount, bool byRows, SortInfo[] sortInfo)
Public Function SortRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, byRows As Boolean, sortInfo As SortInfo()) As Boolean
| Type | Name | Description |
|---|---|---|
| int | row | Index of the starting row of the block of cells to sort |
| int | column | Index of the starting column of the block of cells to sort |
| int | rowCount | Number of rows in the block of cells |
| int | columnCount | Number of columns in the block of cells |
| bool | byRows | Whether to sort by rows (or by columns) |
| SortInfo[] | sortInfo | SortInfo object with sort criteria and how to perform sort |
| Type | Description |
|---|---|
| bool | true if successful; false otherwise |