Sorting cards

J. Landman Gay jacque at hyperactivesw.com
Sat Jan 1 18:38:53 EST 2022


Fantastic, thank you. The more eyes, the better. Look for an email. :)

I hadn't thought to collect the IDs and titles (title sort seems to work, it's the categories 
that fail.) But I did look at the original export text file for anomalies and couldn't find 
anything. I can try your suggestion.

On 1/1/22 5:06 PM, Alex Tweedly via use-livecode wrote:
> I'd be happy to look - but my knowledge is entirely LC - never touched HC, so that may prevent 
> me seeing something relevant.
> 
> Suggestions (that you may have tried already :-) :
> 
> 1. loop through the cards: put the short ID of this card & TAB & field "title" ... after 
> myVariable
> 
> then try sorting the items of myVariable.
> 
> That might tell you whether there's something odd in or about the fields, or whether it's 
> card-specific.
> 
> 2. Take advantage of the stable sort.
>    For those cards that shouldn't move, add a specific custom property / value.
>    Then, after sorting the way you want the cards, do an additional
>       sort cards descending by myNewProperty
>    to move those not-to-be-moved ones to the front, and leave all the others in their proper 
> order.
> 
> Or, feel free to email the stack to me off-list and I'll poke at it.
> 


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list