From: botp Date: 2009-08-30T16:09:04+09:00 Subject: Re: Sorting an array by multiple elements? On Sun, Aug 30, 2009 at 2:30 PM, Paul wrote: > Hi there, I have an array of arrays that I want to sort by multiple > elements. try #sort_by, eg, >data.sort_by{|row| [row[3],row[1],row[0]]}