On Dec 12, 2011, at 11:09 AM, Mark Schonewille wrote: > Try numeric.
Right - Here's an explanation: when you sort by length, what gets sorted is the actual *numbers* themselves, so unless you tell LC to "sort numeric", you'll get things in this order: 1 10 11 2 3 4 (etc.). With your data, it would be: 10 (the length of "DEZINCKING") 11 (the length of "RAZORBACKS") 13 (the length of "ZOOPLANKTONIC") 6 (the length of "ZINCKY") 6 (the length of "ZEBECK") (etc.) So if you do: sort numeric tData by length(each) you'll get what you're looking for… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ 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