Click or drag to resize

CollectionUtilitySelectionSortT(T, IComparerT) Method

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: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void SelectionSort<T>(
	T[] array,
	IComparer<T> comparer
)

Parameters

array  T
comparer  IComparerT

Type Parameters

T
See Also