note
LanX
your code is very hard to read and your real intention hard to guess.<P>
I wanted to show another way, with one method <C>->sort</C> combined with various <C>->by_val</C> , <C>->by_something</C> but it's impossible to test with the spare information provided.<P>
<div class="pmsig"><div class="pmsig-708738">
<p>Cheers Rolf
<p> PS: <i>[http://www.perlmonks.org/?node_id=723924;updated=20150107141123|Je suis Charlie]!</i><P>
<!--small><sub>(addicted to the Perl Programming Language and [http://i.dailymail.co.uk/i/pix/2014/07/14/article-2690897-1F9F6C0E00000578-463_964x629.jpg|☆☆☆☆] :)</sub> </small-->
</div></div>
1114750
1114774