http://www.perlmonks.org?node_id=1078817

cristianro87 has asked for the wisdom of the Perl Monks concerning the following question:

I have a hash with keys like this hs1 hs2 hs3 hs4 ... hs13 ... hs21 .. hsX i try to do

for my $nombre (sort keys %cuantas_veces_sale)

but i get this output hs1 hs10 hs11 and what i whant is this hs1 hs2 hs3 ... hs10 hs11 .. hsX