sorting by mixed fields

Bill Marriott wjm at wjm.org
Sun Dec 31 21:51:11 EST 2006


I'm not sure I understand your situation clearly, but what I would do is to 
create a background common to all cards called "MasterSequence" which checks 
whatever variations of fields might be on the card (i.e., the "card" level 
Sequence field and the "bg" level Sequence field) and determines the 
appropriate index value. Then you can easily and unambiguously sort by that 
field.

Timothy Miller asks,
> My question: Given the foregoing, what happens if I try to sort cards  by 
> field "sequence" ? Can this work?
>
> The collateral question: If this has any chance of working, should I  sort 
> cards by:
>
> field "sequence" ? or
> bg field "sequence" ?
>
> Would it be better to set a customkey? E.g., "set the sequenceNumber  of 
> this card to 522" ?
>
> Can I sort cards by a customKey?






More information about the use-livecode mailing list