Sorts the collection of items into ascending order using a stable
Mergesort algorithm, and returns the sorted collection.
Ordering of elements is determined using the
comparator argument.
See
Section 5.3.19, “Sorting Ordered Collections” for details.