AlgorithmsSortInPlaceT Method (IListT) |
Namespace: X3Platform.Collections
[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.SortInPlace``1(System.Collections.Generic.IList{``0})"]
The Quicksort algorithms is used to sort the items. In virtually all cases, this takes time O(N log N), where N is the number of items in the list.
Values are compared by using the IComparable<T> interfaces implementation on the type T.
Although arrays cast to IList<T> are normally read-only, this method will work correctly and modify an array passed as list.