Fix hash ordering bug in flip test

The test was relying on the clashing values coming out in a particular order, which only happened to work before, and is definitely not the case on perl 5.18.