CollectionUtilityInsertionSortT Method (T, ComparisonT) |
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: 2024.1.1.0 (2024.1.1.0)
Syntax public static void InsertionSort<T>(
T[] array,
Comparison<T> comparer
)
Parameters
- array
- Type: T
- comparer
- Type: SystemComparisonT
Type Parameters
- T
See Also