learning-to-code/ruby/sort.rb

3 lines
45 B
Ruby

numbers = [5, 3, 2, 4, 1]
print numbers.sort