Add a test for Perl 5.17 Hash Randomization
Solve hash-randomization bug by arbitrarily sorting errors