From: Rimantas Liubertas Date: 2006-09-20T17:56:34+09:00 Subject: Re: What's the ruby way to sort string with cases in mind > > a.sort{ |i,j| [i.upcase, i] <=> [j.upcase, j] } > > a.sort_by{ |i| [i.upcase, i] } Great! I guess we have the winner :) Regards, Rimantas -- http://rimantas.com/