Sets or returns the ordering of the PivotTableField using an OrderingType. This only applies to Row Labels and Column Labels.

 public SortOptions.OrderingType Ordering{ get; set; }
Public Property Ordering() As SortOptions.OrderingType

ExcelWriter does not have the ability to perform the actual sorting action. This is handled by Excel when the output is opened in Excel and the pivot table is refreshed. This property determines how Excel sorts the values for a particular field.