Link Search Menu Expand Document

RangeSort Method (String, SortOrder, String, SortOrder, String, SortOrder, Boolean, SortOrientation, SortDataOption, SortDataOption, SortDataOption)

Sorts a range.

Namespace:Bytescout.Spreadsheet
Assembly: Bytescout.Spreadsheet (in Bytescout.Spreadsheet.dll) Version: 4.7.0.2045-master
Syntax
public void Sort(
	string Key1,
	SortOrder Order1,
	string Key2,
	SortOrder Order2,
	string Key3,
	SortOrder Order3,
	bool MatchCase,
	SortOrientation Orientation,
	SortDataOption DataOption1,
	SortDataOption DataOption2,
	SortDataOption DataOption3
)

Parameters

Key1
Type: SystemString
The first sort field.
Order1
Type: Bytescout.Spreadsheet.ConstantsSortOrder
The sort order for the field specified in Key1.
Key2
Type: SystemString
The second sort field.
Order2
Type: Bytescout.Spreadsheet.ConstantsSortOrder
The sort order for the field specified in Key2.
Key3
Type: SystemString
The third sort field.
Order3
Type: Bytescout.Spreadsheet.ConstantsSortOrder
The sort order for the field specified in Key3.
MatchCase
Type: SystemBoolean
if set to true to do a case-sensitive sort.
Orientation
Type: Bytescout.Spreadsheet.ConstantsSortOrientation
The sort orientation.
DataOption1
Type: Bytescout.Spreadsheet.ConstantsSortDataOption
Specifies how to sort text in Key1.
DataOption2
Type: Bytescout.Spreadsheet.ConstantsSortDataOption
Specifies how to sort text in Key2.
DataOption3
Type: Bytescout.Spreadsheet.ConstantsSortDataOption
Specifies how to sort text in Key3.
See Also

Reference