Contains generic sorting methods for collections with length from MinLength to MaxLength.
public static class SN
Inheritance System.Object 🡒 SN
Fields | |
---|---|
MaxLength | The maximum supported length for sorting. |
MinLength | The minimum supported length for sorting. |
Methods | |
---|---|
SortAscending<T>(Span<T>, Comparison<T>) | Sorts the elements in an System.Span<> in ascending order using the specified System.Comparison<>. |
SortAscending<T>(Span<T>) | Sorts the elements in an entire System.Span<> in ascending order using the System.IComparable<> generic interface implementation of each element of the System.Span<>. |
SortAscending<T>(T[], Comparison<T>) | Sorts the elements in an System.Array in ascending order using the specified System.Comparison<>. |
SortAscending<T>(T[]) | Sorts the elements in an entire System.Array in ascending order using the System.IComparable<> generic interface implementation of each element of the System.Array. |
SortDescending<T>(Span<T>, Comparison<T>) | Sorts the elements in an System.Span<> in descending order using the specified System.Comparison<>. |
SortDescending<T>(Span<T>) | Sorts the elements in an entire System.Span<> in descending order using the System.IComparable<> generic interface implementation of each element of the System.Span<>. |
SortDescending<T>(T[], Comparison<T>) | Sorts the elements in an System.Array in descending order using the specified System.Comparison<>. |
SortDescending<T>(T[]) | Sorts the elements in an entire System.Array in descending order using the System.IComparable<> generic interface implementation of each element of the System.Array. |