MergeSort<T>.Sort method
Performs an in-place sort of the collection.
public IList<T> Sort(IList<T> unsorted)
parameter | description |
---|---|
unsorted | IList to sort |
Return Value
A sorted IList containing the same elements as the original unsorted collection.
Remarks
If unsorted is an empty collection, then it is returned unmodified.
See Also
- class MergeSort<T>
- namespace TheCodingMonkey.Collections.Sort