function sortedWith
source · line 14public
public fun <T> Sequence<T>.sortedWith(comparator: Comparator<T>): Sequence<T>
Extension receiver: Sequence<T>
Evaluation is deferred until iteration. Creates a lazy sequence that materializes a stable sorted copy using the supplied comparator. Each traversal materializes the complete input before yielding results.
parameter receiver
source · line 14public
Sequence<T>
type parameter T
source · line 14public
T
parameter comparator
source · line 14public
comparator: Comparator<T>