my %hash;
push @{$hash{"3"}}, "apple";
push @{$hash{"2"}}, "pear";
push @{$hash{"5"}}, "orange";
push @{$hash{"3"}}, "grape";
push @{$hash{"2"}}, "icky pineapple";
# for a lack of a better way to show my hash
# we'll create our own the hard way
for my $key (reverse sort keys %hash)
{
print "$key characters
", join(", ", @{$hash{$key}}), "
";
}
####
5 chars
orange
3 chars
apple, grape