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