std:std.collections.Stack<T>.Sort
Sorts the stack.
Parameters | |
---|---|
ascending |
ascending True to sort the stack in ascending order, false to sort in descending order. |
compareFunc |
compareFunc Function to be used to compare values when sorting. |
lo |
lo Index of first value to sort. |
hi |
hi Index of last value to sort. |