in reply to Re: Condensed rank table output
in thread Condensed rank table output

Sidenote since I had the same bug.

sort is by default alphabetic, when sorting numbers you need to provide a <=> clause to avoid a 1,11,2,21 order.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^3: Condensed rank table output
by tlk (Acolyte) on Sep 13, 2019 at 12:07 UTC

    yep, noticed that, but decided it was too trivial to point out

    probably should've for the other seekers' sake)

    I've ended up using jcb's code, with your addition to get the \d-\d thingy.

    Thanks to you both, as well as to all the other monks! It's beautiful how a rather trivial q can enlighten you at the Monastery.