Enum SortOrder

SortOrder enumeration

Represents sort order for the data range.

public enum SortOrder

Values

NameValueDescription
Ascending0Sorts data in ascending order
Descending1Sorts data in descending order
Natural2Keeps original data order without sorting. Only applies to some special scenarios such as PivotTable.

See Also