Re: Sort Multidimensional Array by Column 5
Re: Sort Multidimensional Array by Column 5
- Subject: Re: Sort Multidimensional Array by Column 5
- From: Richard Lake <email@hidden>
- Date: Fri, 8 Oct 2010 16:33:06 +0100
Cheers Yvan and Jon for your help this week. Got there in the end. :)
On 8 Oct 2010, at 16:13, Jon Pugh wrote: At 10:42 AM +0100 10/8/10, Richard Lake wrote: Is there anyway for quickSort (and all them routines I don't comprehend) to ignore the first row/header row and just append that as item 1 at the end of the sort?
Just do it yourself. Make a copy of the first item and items 2 thru -1 of your data and sort the latter, then append the results to the former. set header to item 1 of yourData set sortables to item 2 thru -1 of yourData --sort set finalResult to header & the result Jon
Richard Lake Marketing Manager Tel: 0800 158 3898 | Email: 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/archives/applescript-users
This email sent to email@hidden