<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
> > ['3zxc','21 trewuuioi','134445']<br>
> > rather than ['134445', '21 trewuuioi', '3zxc']?<br>
> ><br>
> > Any help would be greatly appreciated<br>
> > Pete<br></div>
<br clear="all">There seem to be two different ways of understand the OP sort order.<br></blockquote><div><br>The way I took it, 3zxc comes first because the number is 3 which is smaller than 21 which is smaller than 134445.<br>
<br>It happened to be a coincidence that the list reversed was in that same order.<br><br>So, if I am right about the definition of how to sort, the method I would use is to strip each string of anything beyond its leading digits, save that as a key, use the string as the value. Then sort by key <br>
</div></div><br>-- <br>Joel Goldstick<br><br>