• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sort Multidimensional Array by Column 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Thanks
 
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

References: 
 >Re: Sort Multidimensional Array by Column 5 (From: Richard Lake <email@hidden>)
 >Re: Sort Multidimensional Array by Column 5 (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Sort Multidimensional Array by Column 5
  • Next by Date: Re: Sort Multidimensional Array by Column 5
  • Previous by thread: Re: Sort Multidimensional Array by Column 5
  • Next by thread: Re: Sort Multidimensional Array by Column 5
  • Index(es):
    • Date
    • Thread