Sorting cards

Paul Dupuis paul at researchware.com
Sat Jan 1 17:36:09 EST 2022


I'm not sure about this, but do all the cards have the SAME background 
with the SAME fields (I think they were Category and Title?). If you 
have mixed backgrounds - I think there may be sort problems sorting on 
background fields. Again, this is from memory and I could be wrong.


On 1/1/2022 3:10 PM, J. Landman Gay via use-livecode wrote:
> I'm still not having much luck with this. Everything works as expected 
> except that the first 50 cards or so simply don't move. I can't find 
> anything different about them that would explain it.
>
> Anyone out there have an inclination to take a look and find what I'm 
> missing? There's nothing confidential about the stack.
>
>
> On 12/31/21 12:05 AM, J. Landman Gay via use-livecode wrote:
>> Thanks for all the ideas, guys. I seem to get the most consistent 
>> results if I sort by the short ID of each card and then follow that 
>> with the sort for category or title. Because the data was imported 
>> from a text file, the original order is the order of the card IDs.
>>
>> What threw me originally is that some cards don't sort in the order I 
>> expect. A category that starts with B is sorted before a category 
>> that starts with A. I assume the categories retain their original 
>> order when they collect matching cards. A few cards with blank 
>> categories sort to the front (good) but when sorted by title they 
>> remain at the front even though the titles all start with "The". 
>> That's okay because they are summary cards that should be at the 
>> front, but I'm not sure why they stay there during an alphabetical 
>> title sort instead of moving to the Ts. I didn't find any leading 
>> spaces or invisible characters.
>>
>
>




More information about the use-livecode mailing list