Insertion Methods |
The Insertion type exposes the following members.
Name | Description | |
---|---|---|
IndexSort |
Returns a permutation that gives the elements in the array in ascending order,
while not changing the original array a[] | |
MainTest |
Reads in a sequence of strings from standard input; insertion sorts them;
and prints them to standard output in ascending order. | |
Sort(IComparable) |
Rearranges the array in ascending order, using the natural order. | |
Sort(Object, Comparer) |
Rearranges the array in ascending order, using a comparator. | |
Sort(IComparable, Int32, Int32) |
Rearranges the subarray a[lo..hi] in ascending order, using the natural order. | |
SortT(T, Int32, Int32, ComparerT) |
Rearranges the subarray a[lo..hi] in ascending order, using a generic comparator. |