laziness, impatience, and hubris | |
PerlMonks |
Re^3: Sorting Strings By Vowel Sequenceby Loops (Curate) |
on Nov 18, 2014 at 02:39 UTC ( [id://1107519]=note: print w/replies, xml ) | Need Help?? |
Well it wasn't part of the original problem statement, so the solution allows sort to pick any order it chooses for elements with the same vowel string. You can tack on the original word to the end of the vowels string to sort by consonants when vowel strings match. Here is that idea, but using GRT Sort instead of ST: output:
In Section
Seekers of Perl Wisdom
|
|