in reply to create 2-D array and then sort from max. to min.
Perl 5 doesn't support true 2-dimensional array, only arrays holding array references. Those are documented in perllol.