SortRange.Sort

Sort(int)

Sorts the datas ascend in the range by index.

public void Sort(int index)
ParameterTypeDescription
indexInt32The column(or row) index that specifis the sort column(or row). If sort orientation is top to bottom, the index represents column index. If sort orientation is left to right, the index represents row index.

See Also


Sort(int, SortOrder)

Sorts the datas in the range by index.

public void Sort(int index, SortOrder order)
ParameterTypeDescription
indexInt32The column(or row) index that specifis the sort column(or row). If sort orientation is top to bottom, the index represents column index. If sort orientation is left to right, the index represents row index.
orderSortOrderThe sort order

See Also


Sort(int[])

Sorts the datas ascend in the range by some field that are specifed by array indexes.

public void Sort(int[] indexes)
ParameterTypeDescription
indexesInt32[]The index array that specifies the data sorted by.

See Also


Sort(int[], SortOrder[])

Sorts the datas in the range by some field that are specifed by array indexes.

public void Sort(int[] indexes, SortOrder[] orders)
ParameterTypeDescription
indexesInt32[]The index array that specifies the data sorted by.
ordersSortOrder[]The sort order array

See Also