do not rely on hash key ordering
Merge pull request #2 from reneeb/master

Do not rely on ordering of hash keys