I see you are sorting the keys of the array. I’ll give your method a try.
Bob S On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode <use-livecode@lists.runrev.com> wrote: And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: _______________________________________________ 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