Sorting.Sort<TKey, TItem1, TItem2>(IList<TKey>, IList<TItem1>, IList<TItem2>, IComparer<TKey>) Method |
Sort a list of keys, items1 and items2 with respect to the keys, in place using the quick sort algorithm.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static void Sort<TKey, TItem1, TItem2>(
IList<TKey> keys,
IList<TItem1> items1,
IList<TItem2> items2,
IComparer<TKey> comparer = null
)
Parameters
- keys IList<TKey>
- List to sort.
- items1 IList<TItem1>
- First list to permute the same way as the key list.
- items2 IList<TItem2>
- Second list to permute the same way as the key list.
- comparer IComparer<TKey> (Optional)
- Comparison, defining the sort order.
Type Parameters
- TKey
- The type of elements in the key list.
- TItem1
- The type of elements in the first item list.
- TItem2
- The type of elements in the second item list.
See Also