RosettaCodeData/Task/Sort-an-integer-array/Swift/sort-an-integer-array-8.swift

3 lines
45 B
Swift

let nums = sorted([2,4,3,1,2])
println(nums)