[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.Sort

Sort Method

Sort(SortOrientation, bool, params IValueSortField[])

Sorts the cells represented by this range according to the specified options.

Declaration
void Sort(SortOrientation orientation = SortOrientation.Columns, bool caseSensitive = false, params IValueSortField[] keys)
Parameters
Type Name Description
SortOrientation orientation

The orientation.

bool caseSensitive

if set to true [case sensitive].

IValueSortField[] keys

The SortFieldBase array.

Sort(IRange, SortOrder, SortOrientation, bool)

Declaration
void Sort(IRange key, SortOrder order = SortOrder.Ascending, SortOrientation orientation = SortOrientation.Columns, bool caseSensitive = false)
Parameters
Type Name Description
IRange key
SortOrder order
SortOrientation orientation
bool caseSensitive