8 lines
190 B
Kotlin
Vendored
8 lines
190 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// WITH_RUNTIME
|
|
|
|
fun box(): String {
|
|
val sorted = arrayListOf("1", "3", "2").sorted()
|
|
return if (sorted != arrayListOf("1", "2", "3")) "$sorted" else "OK"
|
|
}
|