PivotTableMDSortAxisKeys Method

NReco.PivotData Class Library Documentation
Sort axis keys by datapoint values

Namespace:  NReco.PivotData
Assembly:  NReco.PivotData (in NReco.PivotData.dll) Version: 1.4.1
Syntax

public void SortAxisKeys(
	int axisToSort,
	Nullable<int>[] otherCoords,
	ListSortDirection sortDirection = ListSortDirection.Ascending
)

Parameters

axisToSort
Type: SystemInt32
axis index of keys to sort
otherCoords
Type: SystemNullableInt32
data point indexes used for determining sort values (null index means totals value by that axis)
sortDirection (Optional)
Type: System.ComponentModelListSortDirection
sort direction (asc by default)
See Also

Reference