[tpm] OID sorting

Fulko Hew fulko.hew at gmail.com
Sat May 2 09:05:07 PDT 2009


On Sat, May 2, 2009 at 11:58 AM, Indy Singh <indy at indigostar.com> wrote:
... snip...


> my @list = (
>     "1.3",
>     "1.2.3",
>     "1.2.3.1",
>     "1.2.4.1",
>     "1.2.30",
>     "1",
>     "1.2",
> );
> # The expected sort order is the same as the order above
>

The expected order for the above set is:

1
1.2
1.2.3
1.2.3.1
1.2.4.1
1.2.30
1.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20090502/72967f37/attachment.html>


More information about the toronto-pm mailing list