<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">
&gt; &gt; [&#39;3zxc&#39;,&#39;21 trewuuioi&#39;,&#39;134445&#39;]<br>
&gt; &gt; rather than [&#39;134445&#39;, &#39;21 trewuuioi&#39;, &#39;3zxc&#39;]?<br>
&gt; &gt;<br>
&gt; &gt; Any help would be greatly appreciated<br>
&gt; &gt; 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>