<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks, I stand corrected. The comment was
wrong, but the code works.</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Indy Singh<BR>IndigoSTAR Software -- <A
href="http://www.indigostar.com">www.indigostar.com</A></DIV>
<DIV> </DIV>
<DIV></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=fulko.hew@gmail.com href="mailto:fulko.hew@gmail.com">Fulko Hew</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=indy@indigostar.com
href="mailto:indy@indigostar.com">Indy Singh</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=tpm@to.pm.org
href="mailto:tpm@to.pm.org">Toronto Perl Mongers</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, May 02, 2009 12:05
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [tpm] OID sorting</DIV>
<DIV><BR></DIV><BR>
<DIV class=gmail_quote>On Sat, May 2, 2009 at 11:58 AM, Indy Singh <SPAN
dir=ltr><<A
href="mailto:indy@indigostar.com">indy@indigostar.com</A>></SPAN> wrote:
<DIV
style="FONT-WEIGHT: 400; FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-FAMILY: 'DejaVu Sans'"
bgcolor="#ffffff"><BR>... snip...</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV
style="FONT-WEIGHT: 400; FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-FAMILY: 'DejaVu Sans'"
bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>my @list = (<BR>
"1.3",<BR> "1.2.3",<BR>
"1.2.3.1",<BR> "1.2.4.1",<BR>
"1.2.30",<BR> "1",<BR> "1.2",<BR>);<BR>#
The expected sort order is the same as the order
above</FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR>The expected order for the above set
is:<BR><BR>1<BR>1.2<BR>1.2.3<BR>1.2.3.1<BR>1.2.4.1<BR>1.2.30<BR>1.3<BR><BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>