Re: Sort a list of lists
Re: Sort a list of lists
- Subject: Re: Sort a list of lists
- From: Shane Stanley <email@hidden>
- Date: Fri, 17 Nov 2006 08:44:14 +1100
- Thread-topic: Sort a list of lists
On 17/11/06 8:36 AM, "CYB" <email@hidden> wrote:
> My typical list looks like {{5.0, 120.0, 40.0, 169.0}, {10.0, 10.0, 50.0,
> 59.0}, {70.0, 20.0, 110.0, 69.0}, {70.0, 80.0, 110.0, 128.0}}
One way to do it is to sort on a single value. Assume your values can never
exceed 10000. You can then make a new value equal to the first * 10000 + the
second. Then you can sort by this value.
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden