From: MonkeeSage Date: 2006-09-20T13:40:11+09:00 Subject: Re: What's the ruby way to sort string with cases in mind Sam Kong wrote: > But I think there's a more rubyish way. > How do you do that? Hi Sam, I think that's probably the most concise and rubyish way. You can't do a (simple) sort by ascii ordinal (i[0] in 1.8, or i.ord in 1.9), as that would give you all the capitals first. And implementing your own sort routine is not going to be anywhere near as clean as what you've got. So yeah, imo, go with what you have, it's nice. :) Regards, Jordan