If it is a lot to sort, I am wondering why not use a memory database with the indexes you need to sort by, or a file database if the data needs to be persistent?
Bob S On Mar 2, 2021, at 2:52 PM, Paul Dupuis via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Okay. Thank you Ralph. I was reluctant to use "do" for performance reasons. The sort could be sorting a large number of lines - as many as several hundred sorts of a thousand to ten thousand lines. I could of course do timing trials, but does anyone from the mothership (or anyone period) know if using "do" with a container sort causes any appreciable performance hit? All the data is in a variable (vs fields). _______________________________________________ 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