Hi,

WATANABE Hirofumi wrote:
> Hi,
>
> "Rimantas Liubertas" <rimantas / gmail.com> writes:

> a.sort{ |i,j| [i.upcase, i] <=> [j.upcase, j] }
>
> a.sort_by{ |i| [i.upcase, i] }

Wow!
This is what I was looking for.
Why couldn't I think of this?

Thank you very much.

Sam