Click or drag to resize

CollectionUtilitySelectionSortT Method (IListT, IComparerT)

The selection sort algorithm sorts an array by repeatedly finding the minimum element. No memory allocation. Stable sort.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void SelectionSort<T>(
	IList<T> list,
	IComparer<T> comparer
)

Parameters

list
Type: System.Collections.GenericIListT
comparer
Type: System.Collections.GenericIComparerT

Type Parameters

T
See Also