fun <T> Iterable<T>.sortedWith( comparator: Comparator<in T> ): List<T>
Platform and version requirements: JVM
fun <T> Array<out T>.sortedWith( comparator: Comparator<in T> ): List<T>
Platform and version requirements: JVM
fun ByteArray.sortedWith( comparator: Comparator<in Byte> ): List<Byte>
Platform and version requirements: JVM
fun ShortArray.sortedWith( comparator: Comparator<in Short> ): List<Short>
Platform and version requirements: JVM
fun IntArray.sortedWith( comparator: Comparator<in Int> ): List<Int>
Platform and version requirements: JVM
fun LongArray.sortedWith( comparator: Comparator<in Long> ): List<Long>
Platform and version requirements: JVM
fun FloatArray.sortedWith( comparator: Comparator<in Float> ): List<Float>
Platform and version requirements: JVM
fun DoubleArray.sortedWith( comparator: Comparator<in Double> ): List<Double>
Platform and version requirements: JVM
fun BooleanArray.sortedWith( comparator: Comparator<in Boolean> ): List<Boolean>
Platform and version requirements: JVM
fun CharArray.sortedWith( comparator: Comparator<in Char> ): List<Char>
Platform and version requirements: JVM
fun <T> Array<out T>.sortedWith( comparator: Comparator<in T> ): List<T>
Platform and version requirements: JS
fun ByteArray.sortedWith( comparator: Comparator<in Byte> ): List<Byte>
Platform and version requirements: JS
fun ShortArray.sortedWith( comparator: Comparator<in Short> ): List<Short>
Platform and version requirements: JS
fun IntArray.sortedWith( comparator: Comparator<in Int> ): List<Int>
Platform and version requirements: JS
fun LongArray.sortedWith( comparator: Comparator<in Long> ): List<Long>
Platform and version requirements: JS
fun FloatArray.sortedWith( comparator: Comparator<in Float> ): List<Float>
Platform and version requirements: JS
fun DoubleArray.sortedWith( comparator: Comparator<in Double> ): List<Double>
Platform and version requirements: JS
fun BooleanArray.sortedWith( comparator: Comparator<in Boolean> ): List<Boolean>
Platform and version requirements: JS
fun CharArray.sortedWith( comparator: Comparator<in Char> ): List<Char>
Platform and version requirements: JS
fun <T> Iterable<T>.sortedWith( comparator: Comparator<in T> ): List<T>
Platform and version requirements: JS
Returns a list of all elements sorted according to the specified comparator.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/sorted-with.html