From: "Bartosz DziewoƄski" Date: 2012-10-21T01:53:46+09:00 Subject: Re: Hash with Integer key issue Hashes are unsorted. However, in Ruby 1.9 (but not in 1.8) they are ordered; that is, when you iterate over them, the elements are yielded in the same order as they were inserted. -- Matma Rex