Product SiteDocumentation Site

5.3.4.15. sortWith


>>-sortWith(comparator)----------------------------------------><

Sorts a collection of items into ascending order using an algorithm that is not guaranteed to be stable. Ordering of elements is determined using the comparator argument. See Section 5.3.18, “Sorting Ordered Collections” for details.