isSortedWith

fun <T> Sequence<T>.isSortedWith(comparator: Comparator<in T>): Boolean(source)