Let\'s say I have an unsorted array from 1 to 10, as shown below...
a = ["3", "5", "8", "4", "1", "2",
I'll throw another method out there since it's the shortest way I can think of
a.sort_by(&:to_i)