Class SortUtils
Represents a series of Sorting utility methods.
Inherited Members
Namespace: TriLibCore.Utils
Assembly: TriLibCore.dll
Syntax
public static class SortUtils
Methods
BubbleSort<T>(IList<T>, Comparison<T>)
Sorts the given List using the given Comparison.
Declaration
public static void BubbleSort<T>(IList<T> list, Comparison<T> comparison)
Parameters
Type | Name | Description |
---|---|---|
IList<T> | list | The List to sort. |
Comparison<T> | comparison | The Comparison to use. |
Type Parameters
Name | Description |
---|---|
T | The List element type. |