Hallo Hermann, > >> sort lines of T numeric by each & AaZz_sort( each) ? >> sort lines of T >> >> Else the container is sorted by the first char of each line only. >> > > Ok, I can't find a way to do it with a single sort.
Therefore your solution 1st or mine adding a second sort after it. Enjoy your week-ed, Thierry Yes, you are right, so I rewrite it a bit to be more *readable*: > > > sort lines of T numeric by AaZz_sort(char 1 of each) > > function AaZz_sort x > get chartonum( x) > if IT > 96 then return ( IT - 96) * 2 + 1 > else return ( IT - 64) * 2 > end AaZz_sort > > -- ------------------------------------------------ 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