http://www.perlmonks.org?node_id=1088708


in reply to Re^3: String sorting in Perl
in thread String sorting in Perl

Laurent_R,
The code should get the counts, order them with the highest counts first, then move to the next value.

I didn't see anything that implied shorter strings should come first but I agree that "move to the next value" is fairly ambiguous.

Cheers - L~R