Ruby, since v1.9, supports a deterministic order when looping through a hash; entries added first will be returned first.
Does this apply to literals, i.e. will
From the documentation:
Hashes enumerate their values in the order that the corresponding keys were inserted.