in reply to DNA japh
It's interesting that, as you've noted ...
Did I first pick up that trick from you? I think perhaps I did. However, it is an exceedingly helpful trick to figure out why ...
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/) [download]