Ruby on Rails
PhpSort

Use Array#sort:


[3,2,4,1,5].sort #=> [1, 2, 3, 4, 5]