kotlin.collections.sortedArrayWith

sortedArrayWith

fun <T> Array<out T>.sortedArrayWith(
    comparator: Comparator<in T>
): Array<out T>

Platform and version requirements: JVM

fun <T> Array<out T>.sortedArrayWith(
    comparator: Comparator<in T>
): Array<out T>

Platform and version requirements: JS

Returns an array with all elements of this array sorted according the specified 登录查看完整内容