Sorting cards

Jerry Jensen jerry at jhjensen.com
Thu Dec 30 15:26:28 EST 2021


Behold the new keyword undoSort

> On Dec 30, 2021, at 12:19 PM, doc hawk via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 
> jacqui jagged,
> 
>> What's the best way to ignore the previous sort order?
> 
> I think what you’re looking at here isn’t even livecode itself.
> 
> Just about any computer sort doesn’t change the order of two objects that “tie” 
> during a sort—whichever was first, remains first.
> 
> I think you’re going to need to store the original order.
> 
> Or add a field or property of original_order, with the card number.  Then you 
> could sort by *that* to restore the order before going to your second field.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list