in reply to
Sort hash ref of Hash of Hashes
You are comparing string values 'PQRST' etc... but using the numerical sort (spaceship '<=>') operator. You should be using cmp. See sort for more info.
So, always use warnings;. (Documented in perllexwarn).
Other opinion (please explain)
Results (254 votes),