Click or drag to resize

CollectionUtilityInsertionSortT(IListT, IComparerT) Method

Insertion sort is a simple sorting algorithm that works the way we sort playing cards in our hands. 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 InsertionSort<T>(
	IList<T> list,
	IComparer<T> comparer
)

Parameters

list  IListT
comparer  IComparerT

Type Parameters

T
See Also