• 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: Sorting arrays with strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting arrays with strings


  • Subject: Re: Sorting arrays with strings
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 17 Mar 2008 09:58:07 -0700

On Mar 15, 2008, at 6:34 AM, I. Savant wrote:

is there a way to make an array with objects such as text-12. txt, text-3.txt, text6.txt, text654.txt be sorted like text-3.txt, text-12.txt, text6.txt, text654.txt
If you understand what I mean.

http://developer.apple.com/qa/qa2004/qa1159.html

True, but obsolete. These days (read: 10.3 and later) you can use the "NSNumericSearch" option, as Malcom suggests.



--Chris Nebel AppleScript Engineering

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Sorting arrays with strings
      • From: "I. Savant" <email@hidden>
References: 
 >Sorting arrays with strings (From: "Mr. Gecko" <email@hidden>)
 >Re: Sorting arrays with strings (From: "I. Savant" <email@hidden>)

  • Prev by Date: In receiver application, getting file passed in from NSWorkspace openFile:withApplication:
  • Next by Date: Re: Modifying glyph storage in NSLayoutManager
  • Previous by thread: Re: Sorting arrays with strings
  • Next by thread: Re: Sorting arrays with strings
  • Index(es):
    • Date
    • Thread