kotlin.sequences.sortedWith
sortedWith
fun <T> Sequence<T>.sortedWith( comparator: Comparator<in T> ): Sequence<T>
Platform and version requirements: JVM
fun <T> Sequence<T>.sortedWith( comparator: Comparator<in T> ): Sequence<T>
Platform and version requirements: JS
Returns a sequence that yields elements of this sequence sorted according to the specified comparator.