<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> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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>