for my $x(sort {return $a <=> $b} keys %hash) { print "$x = $hash{$x}\n"; }