From: Nico Ritsche Date: 2008-01-30T17:10:24+09:00 Subject: Re: Hash Sorting Gary Wright wrote: > On Jan 30, 2008, at 1:39 AM, Nico Ritsche wrote: >> all. > Can you cut, paste, and post the snippit of code you are using to > display your incorrect results? I diplay the result like this (in a rails rhtml.file, so there are actually <% %> around the statements): pi_array_sorted.each do |a| a[0].titleize ... some other code ... end Well, maybe I need to strip down the example a bit, and test it with simpler hashs without nested arrays as values. I suspect that the nested arrays could be the problem... -- Posted via http://www.ruby-forum.com/.