Dave, Farrel, Logan - Thanks for your quick replys! 
Hash#each_ordered_by_key is a good solution for my problem.

Oliver.

-- 
Posted via http://www.ruby-forum.com/.