2011/6/21 Robert Klemme <shortcutter / googlemail.com>:
> See Adam's and Josh's replies: a Hash is generally unordered.
> However, what do you need this for? If it is for debugging purposes
> then you might as well override #inspect on a per instance basis or
> change it in Hash (not recommended).

Hi, I don't understand your comment.

> If you need that for other
> reasons then maybe a tree might be a better choice. There is for
> example
> http://raa.ruby-lang.org/project/ruby-rbtree/



-- 
Iaki Baz Castillo
<ibc / aliax.net>