SortingSortAllT1, T2 Method |
Sort a list of keys and items with respect to the keys, in place using the quick sort algorithm.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void SortAll<T1, T2>(
IList<T1> primary,
IList<T2> secondary,
IComparer<T1> primaryComparer = null,
IComparer<T2> secondaryComparer = null
)
Parameters
- primary IListT1
- List to sort.
- secondary IListT2
- List to sort on duplicate primary items, and permute the same way as the key list.
- primaryComparer IComparerT1 (Optional)
- Comparison, defining the primary sort order.
- secondaryComparer IComparerT2 (Optional)
- Comparison, defining the secondary sort order.
Type Parameters
- T1
- The type of elements in the primary list.
- T2
- The type of elements in the secondary list.
See Also