From: Bill Walker Date: 2008-05-19T03:48:21+09:00 Subject: Re: Array.sort with bignum fails? Looks like you are sorting strings not bignums. Therefore the sorting is correct. On 5/18/08 2:37 PM, "Rg Rg" wrote: > 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?