p [5,1,37,2,1].sort!{|a,b|a-b} exit
p [5,1,37,2,1].sort! exit
a = [5,1,37,2,1] p b = a.sort{|c,d|c-d}, a exit