Click or drag to resize

SortingSortT(IListT, Int32, Int32, IComparerT) Method

Sort a range of a list of keys, in place using the quick sort algorithm.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Sort<T>(
	IList<T> keys,
	int index,
	int count,
	IComparer<T> comparer = null
)

Parameters

keys  IListT
List to sort.
index  Int32
The zero-based starting index of the range to sort.
count  Int32
The length of the range to sort.
comparer  IComparerT  (Optional)
Comparison, defining the sort order.

Type Parameters

T
The type of element in the list.
See Also