in reply to Shuffling a hash

Because hashes are by nature unordered (there is a natural order but it's not necessarily consistent and you shouldn't assume anything about it). Just shuffle the list of keys instead.

The cake is a lie.
The cake is a lie.
The cake is a lie.