toSortedSet
Return a SortedSet containing all the elements of this sequence.
The operation is terminal.
fun <E : Any, Comparable<E>> EntitySequence<E, *>.toSortedSet(comparator: Comparator<in E>): SortedSet<E>(source)
Return a SortedSet containing all the elements of this sequence.
Elements in the set returned are sorted according to the given comparator.
The operation is terminal.