Aspose::Cells::DataSorter::Sort method

DataSorter::Sort(const Cells&, int32_t, int32_t, int32_t, int32_t) method

Sorts the data of the area.

Vector<int32_t> Aspose::Cells::DataSorter::Sort(const Cells &cells, int32_t startRow, int32_t startColumn, int32_t endRow, int32_t endColumn)
ParameterTypeDescription
cellsconst Cells&The cells contains the data area.
startRowint32_tThe start row of the area.
startColumnint32_tThe start column of the area.
endRowint32_tThe end row of the area.
endColumnint32_tThe end column of the area.

ReturnValue

the original indices(absolute position, for example, column A is 0, B is 1, …) of the sorted rows/columns. If no rows/columns needs to be moved by this sorting operation, null will be returned.

See Also

DataSorter::Sort(const Cells&, const CellArea&) method

Sort the data of the area.

Vector<int32_t> Aspose::Cells::DataSorter::Sort(const Cells &cells, const CellArea &area)
ParameterTypeDescription
cellsconst Cells&The cells contains the data area.
areaconst CellArea&The area needed to sort

ReturnValue

the original indices(absolute position, for example, column A is 0, B is 1, …) of the sorted rows/columns. If no rows/columns needs to be moved by this sorting operation, null will be returned.

See Also

DataSorter::Sort() method

Sort the data in the range.

Vector<int32_t> Aspose::Cells::DataSorter::Sort()

ReturnValue

the original indices(absolute position, for example, column A is 0, B is 1, …) of the sorted rows/columns. If no rows/columns needs to be moved by this sorting operation, null will be returned.

See Also