A slight variation from Hermann's code,
working *only* with ASCII:

sort lines of T numeric by AaZz_sort( each)


function AaZz_sort x
   get chartonum( char 1 of x)
   if IT > 96 then return ( IT - 96) * 2 + 1
   else return ( IT - 64) * 2
end AaZz_sort


I can explain if someone is asking for...

and I have no ideas if the double-sort is faster then this one.


Thierry

------------------------------------------------
Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to