I have good news and bad news! function sortIPList2 pIPList set the itemdelimiter to "." try sort lines of pIPList ascending numeric \ by (item 1 of each + 0) & \ (item 2 of each + 0) & \ (item 3 of each + 0) & \ (item 4 of each + 0) catch theError breakpoint end try return pIPList end sortIPList2
With a small subset of data, it doesn't error meaning I have some cruft in the data. Fair enough. The bad news is... IT DOESN'T SORT! LOL!!! Reversing the items does not help either. Bob S > On Jun 29, 2018, at 15:16 , Mike Bonner via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Yup, that would be it! _______________________________________________ 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