toSortedSet
Returns a new SortedSet of all elements.
Elements in the set returned are sorted according to the given comparator.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Returns a new SortedSet of all elements.
Elements in the set returned are sorted according to the given comparator.