From: "Iñaki Baz Castillo" Date: 2011-06-22T01:16:29+09:00 Subject: Re: How to order a hash based on its keys? 2011/6/21 Adam Prescott : > On Tue, Jun 21, 2011 at 3:34 PM, Iñaki Baz Castillo wrote: >> Is there any efficiente way? (I don't want the hast to be converted to >> an array and the to a hash again). >> > > I guess you didn't mind doing then? :) Well, I wanted to avoid doing more stuff in Ruby, as using Array#map/inject to generate a new Hash and so. But maybe using Hash[] method directly is faster. -- Iñaki Baz Castillo