Performs inital ordering of pivot table rows/columns keys
Namespace:
NReco.PivotData
Assembly:
NReco.PivotData (in NReco.PivotData.dll) Version: 1.4.1
protected virtual void SortKeys(
ValueKey[] keys,
string[] dimensions,
IComparer<ValueKey> comparer
)
Protected Overridable Sub SortKeys (
keys As ValueKey(),
dimensions As String(),
comparer As IComparer(Of ValueKey)
)
protected:
virtual void SortKeys(
array<ValueKey^>^ keys,
array<String^>^ dimensions,
IComparer<ValueKey^>^ comparer
)
abstract SortKeys :
keys : ValueKey[] *
dimensions : string[] *
comparer : IComparer<ValueKey> -> unit
override SortKeys :
keys : ValueKey[] *
dimensions : string[] *
comparer : IComparer<ValueKey> -> unit
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
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.
Reference