Re: Sorting Lists by multiple criteria
Re: Sorting Lists by multiple criteria
- Subject: Re: Sorting Lists by multiple criteria
- From: Steve Kump <email@hidden>
- Date: Thu, 20 Feb 2003 21:12:04 -0800
It appears the GTQ Library's Sort command will perform multiple sorts based
on the quicksort algorithm in one nice easy command.
Steve
On 2/19/03 8:25 PM, "Steve Kump" <email@hidden> wrote:
>
Has & Jean-Bapitiste:
>
>
Thanks for pointing this out...this should do it perfectly.
>
>
Steve
>
On 2/19/03 1:45 PM, "has" <email@hidden> wrote:
>
>
> Steve Kump wrote:
>
>
>
>> I'm working on a little application that reads in some data as a list of
>
>> lists. With Acme Script widgets, I can sort by any item within each list:
>
>> [...]
>
>> This works fine. However, I would like to be able to sort this data using
>
>> more than one criterion. Something like:
>
>>
>
>> Acme sort myList by item number 3 then by item number 1
>
>
>
> See <http://lists.apple.com/mhonarc/applescript-users/msg34277.html>
>
>
>
> sortListOfLists(myList, {3, 1})
>
>
>
> Or use the qSort library from <http://www.applemods.com>.
>
>
>
> HTH
>
>
>
> has
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.