PivotTableSortKeys Method

NReco.PivotData Class Library Documentation
Performs inital ordering of pivot table rows/columns keys

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

protected virtual void SortKeys(
	ValueKey[] keys,
	string[] dimensions,
	IComparer<ValueKey> comparer
)

Parameters

keys
Type: NReco.PivotDataValueKey
array of pivot table axis (rows or columns) keys
dimensions
Type: SystemString
array of dimensions for given keys
comparer
Type: System.Collections.GenericIComparerValueKey
Remarks

This method is called for initial ordering of pivot table rows and columns. It may be overrided in inherited class if custom ordering logic should be applied (note that custom sort also can be applied by ordering ColumnKeys and RowKeys properites.
See Also

Reference