PivotTableSortRowKeys Method (NullableInt32, Int32, ListSortDirection)

NReco.PivotData Class Library Documentation
Sort rows by specified column values.

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

public void SortRowKeys(
	Nullable<int> columnIndex,
	int measureIndex,
	ListSortDirection sortDirection = ListSortDirection.Ascending
)

Parameters

columnIndex
Type: SystemNullableInt32
column index (use null to sort by totals)
measureIndex
Type: SystemInt32
measure index (applicable only for cubes with several measures)
sortDirection (Optional)
Type: System.ComponentModelListSortDirection
sort direction (asc by default)
See Also

Reference