[]
Sorts the cells represented by this range according to the specified options.
void Sort(SortOrientation orientation = SortOrientation.Columns, bool caseSensitive = false, params IValueSortField[] keys)
Sub Sort(Optional orientation As SortOrientation = SortOrientation.Columns, Optional caseSensitive As Boolean = False, ParamArray keys As IValueSortField())
Type | Name | Description |
---|---|---|
SortOrientation | orientation | The orientation. |
bool | caseSensitive | if set to |
IValueSortField[] | keys | The SortFieldBase array. |
void Sort(IRange key, SortOrder order = SortOrder.Ascending, SortOrientation orientation = SortOrientation.Columns, bool caseSensitive = false)
Sub Sort(key As IRange, Optional order As SortOrder = SortOrder.Ascending, Optional orientation As SortOrientation = SortOrientation.Columns, Optional caseSensitive As Boolean = False)
Type | Name | Description |
---|---|---|
IRange | key | |
SortOrder | order | |
SortOrientation | orientation | |
bool | caseSensitive |