P is for Practical | |
PerlMonks |
Re: Custom Sort An AoAby Corion (Patriarch) |
on Apr 01, 2014 at 16:10 UTC ( [id://1080597]=note: print w/replies, xml ) | Need Help?? |
The general trick is to append your additional sort criteria to the sort block.
So all that remains is to find the appropriate expression to find and compare the last elements of each array:
Taken together, your sort expression would be
In Section
Seekers of Perl Wisdom
|
|