print "$_:$hash{$_}\n" for (sort {$hash{$a} cmp $hash{$b}} keys %hash);