sort

actual fun IntArray.sort() (source)
actual fun LongArray.sort() (source)
actual fun ByteArray.sort() (source)
actual fun ShortArray.sort() (source)
actual fun DoubleArray.sort() (source)
actual fun FloatArray.sort() (source)
actual fun CharArray.sort() (source)

Sorts the array in-place.

inline actual fun <T : Comparable<T>> Array<out T>.sort() (source)

Sorts the array in-place according to the natural order of its elements.

fun <T> Array<out T>.sort(
    fromIndex: Int = 0,
    toIndex: Int = size)
(source)

Platform and version requirements: JVM

fun ByteArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

fun ShortArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

fun IntArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

fun LongArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

fun FloatArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

fun DoubleArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

fun CharArray.sort(fromIndex: Int = 0, toIndex: Int = size) (source)

Platform and version requirements: JVM

Sorts a range in the array in-place.

inline fun <T> MutableList<T>.sort(
    comparator: Comparator<in T>)
(source)
Deprecated: Use sortWith(comparator) instead.

Platform and version requirements: JVM

inline fun <T> MutableList<T>.sort(comparison: (T, T) -> Int) (source)
Deprecated: Use sortWith(Comparator(comparison)) instead.

Platform and version requirements: JVM

actual fun <T : Comparable<T>> MutableList<T>.sort() (source)

Sorts elements in the list in-place according to their natural sort order.

inline fun <T> Array<out T>.sort(
    noinline comparison: (a: T, b: T) -> Int)
(source)

Platform and version requirements: JS

inline fun ByteArray.sort(
    noinline comparison: (a: Byte, b: Byte) -> Int)
(source)

Platform and version requirements: JS

inline fun ShortArray.sort(
    noinline comparison: (a: Short, b: Short) -> Int)
(source)

Platform and version requirements: JS

inline fun IntArray.sort(
    noinline comparison: (a: Int, b: Int) -> Int)
(source)

Platform and version requirements: JS

inline fun LongArray.sort(
    noinline comparison: (a: Long, b: Long) -> Int)
(source)

Platform and version requirements: JS

inline fun FloatArray.sort(
    noinline comparison: (a: Float, b: Float) -> Int)
(source)

Platform and version requirements: JS

inline fun DoubleArray.sort(
    noinline comparison: (a: Double, b: Double) -> Int)
(source)

Platform and version requirements: JS

inline fun CharArray.sort(
    noinline comparison: (a: Char, b: Char) -> Int)
(source)

Platform and version requirements: JS

Sorts the array in-place according to the order specified by the given comparison function.