I have a array with big numbers and sort method does not order it
correctly.

irb(main):017:0> a = [ "8412478247689", "25977", "88582",
"8410347003107" ]
=> ["8412478247689", "25977", "88582", "8410347003107"]
irb(main):018:0> a.sort
=> ["25977", "8410347003107", "8412478247689", "88582"]
irb(main):019:0>


Exists some other form to order the Array?
-- 
Posted via http://www.ruby-forum.com/.