From: Rimantas Liubertas Date: 2006-09-20T16:19:51+09:00 Subject: Re: What's the ruby way to sort string with cases in mind > And implementing your own > sort routine is not going to be anywhere near as clean as what you've > got. My best try so far is like that: a.sort{ |i,j| (i.upcase == j.upcase)? (i<=>j):(i.upcase<=>j.upcase) } Not elegant, but not too ugly (or is it?). I've got a feeling there must be a way to simplify this. Regards, Rimantas -- http://rimantas.com/