in reply to Re: Sort hash ref of Hash of Hashes
in thread Sort hash ref of Hash of Hashes

... and use warnings; would have warned you that Argument "PQRST" isn't numeric in numeric comparison (<=>) at ....

So, always use warnings;. (Documented in perllexwarn).