3 lines
73 B
Scala
3 lines
73 B
Scala
|
|
println(List(5,2,78,2,578,-42).sorted)
|
||
|
|
//--> List(-42, 2, 2, 5, 78, 578)
|