Re: Sort bug and also multilevel sorting

2023-09-07 Thread Craig Newman via use-livecode
Neville. My example was only to show that the sort command still maintains the ability to accept concatenated sort criteria. This allows a single line of code to do the work, and obviates the need for multiple sorts. In that sense it was a bad example to use character "places" in a string.

Re: Sort bug and also multilevel sorting

2023-09-06 Thread Neville Smythe via use-livecode
Ralph: Interesting. Your code works as you present it, sorting the given items by the sortkey function f1 which adds 1 to each item. I do get the “sorting failed” dialog. But if I try the same thing using myVal modified as you suggest, which adds the first and second items of each line of data