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
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Containing Type
- IGUtils
Syntax
public static void StableInsertionSort<T>(IList<T> list, Comparison<T> comparison)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
list | IList |
|
comparison | Comparison |
Return Value
Type | Description |
---|---|
void |