std:std.collections.List<T>.Sort

Method Sort:Void( ascending:Int=true )
Method Sort:Void( compareFunc: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.