WeaverUtilities.

StableInsertionSort<T>(IList<T>, Comparison<T>) Method

Summary

Sorts `list`, maintaining the order of any elements with an identical comparison (unlike the standard System.Collections.Generic.List`1.Sort(System.Comparison{`0}) method).
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
WeaverUtilities

Syntax

public static void StableInsertionSort<T>(IList<T> list, Comparison<T> comparison)

Type Parameters

Name Description
T

Parameters

Name Type Description
list IList<T>
comparison Comparison<T>

Return Value

Type Description
void