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

Hi again. I have the next hash:
%name {11} {key2}
      {2}  {key2}
      {10} {key2}
      {1}  {key2}
      {5}  {key2}

This its the order the data has been stored in my hash. After that using this code:
foreach $ctrl_2 (sort keys (%final)) {
	print "level-> $ctrl_2\n";}
the script returns to me the next output:
level-> 1
level-> 10
level-> 11
level-> 2
level-> 5
You dont think this its really weird? i think its something related to how perl do this function...but i think also there's another way to fix this. Thanks!