Sorting search results - solution needed

Bob Sneidar bobsneidar at iotecdigital.com
Wed Oct 24 12:07:53 EDT 2018


I should have said, in the loop keep adding a character until the value is no longer a number, then sort numeric by the last value. 

Bob S


> On Oct 23, 2018, at 14:14 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> This of course cannot be a numeric sort. I would create a loop and start with 1 digit, then see if the value div the value = the value (in a try catch loop). Once you get an error or false, break out the integer portion, pad it with the appropriate number of trailing zeros, then append the rest. 





More information about the use-livecode mailing list