Re: Sorting Lists by multiple criteria
Re: Sorting Lists by multiple criteria
- Subject: Re: Sorting Lists by multiple criteria
- From: has <email@hidden>
- Date: Wed, 19 Feb 2003 21:45:52 +0000
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
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
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.