How would I reverse the elements in the hash, keeping the same values and keys, but reversing their order in the hash.
Like so:
{ \"4\" => \"happiness
hash = { "4" => "happiness", "10" => "cool", "lala" => "54", "1" => "spider" } reversed_hash = Hash[hash.to_a.reverse]