Returns a copy of the given iterable sorted by this ordering. The input is not modified. The returned list is modifiable, serializable, and has random access.
Unlike {@link Sets#newTreeSet(Iterable)}, this method does not discard elements that are duplicates according to the comparator. The sort performed is stable, meaning that such elements will appear in the resulting list in the same order they appeared in the input.
@param iterable the elements to be copied and sorted
@return a new list containing the given elements in sorted order