[Pdx-pm] sort issues.
Roth, Gabrielle
gabrielle.roth at xo.com
Fri Aug 30 13:21:32 CDT 2002
>First you compare the part before the decimal and if they're
>the same, you
>compare the part after the decimal. The key here, of course,
>is that you
>DON'T want a numerical sort. You want a fake
>version-number-style sort.
>
>Remember, 1.12 IS less than 1.2! Perl was doing it correctly,
>you're just
>don't actually want a numerical sort.
Well, duh. I have definitely been looking at this for too long, when I am
thinking that port numbers = real numbers.
Thanks for the tip.
-gabrielle
"It's been lovely, but I must scream now."
More information about the Pdx-pm-list
mailing list