Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^4: String sorting in Perl

by Limbic~Region (Chancellor)
on Jun 04, 2014 at 18:06 UTC ( [id://1088708] : note . print w/replies, xml ) Need Help??

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

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