Make sure sort does does not mutate the original Hash.

My original implementation of this mutated the original Hash but you implemented sort correctly I figured it would be a good test to add.