in reply to Please correct my sorting in this HoA
foreach my $id ( sort keys %HoH ) { print ">$id: \n"; for my $pos ( sort { $a <=> $b } keys $HoH{$id}->%* ) { print "$pos:$HoH{$id}{$pos}\n"; } print "\n"; [download]
foreach my $id ( sort keys %HoH ) { print ">$id: \n"; for my $pos ( sort { $a <=> $b } keys %{$HoH{$id}} ) { print "$pos:$HoH{$id}{$pos}\n"; } print "\n"; } [download]