>>449
$ ruby -e 'p [4,3,1,2].sort{|a,b,c|a<=>b}'
[1, 2, 3, 4]