It is doing just that, only it's doing a text sort of the numbers: 1 10 100 11 12 etc.
He wants a NUMERIC sort of the numbers. Hence sort myVar numeric by the length of each Bob On Dec 12, 2011, at 11:56 AM, Mark Wieder wrote: > OK - that's just weird. I see what's going on, but what I'd expect is what (I > think) Craig expects - that I'd get a list of the strings sorted by their > character lengths. _______________________________________________ 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