std.collections.Stack.Sort - nitrologic/monkey2 GitHub Wiki
std::std.collections.std.collections.Stack.Sort
monkey:monkey.types.Int=true )
Method Sort:Void( ascending:monkey:monkey.types.Int(T,T) )
Method Sort:Void( compareFunc:monkey:monkey.types.Int(T,T),lo:monkey:monkey.types.Int,hi:monkey:monkey.types.Int )
Method Sort:Void( compareFunc: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. |