Product Site

5.3.6.34. sortWith

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