If you really want to be sure that they're in the same order:

 keys, values = hsh.to_a.transpose

gegroet,
Erik V. - http://www.erikveen.dds.nl/