Mikkel Islay wrote: > It sounds to me like one way of looking at your data structures is as a > NSDictionary with the first array as keys and the second as objects (values).
Which fails the if there's any possibility that the items in the first array aren't unique. Better two have an array of dictionaries where each dictionary holds a respective pair from the current two arrays as their own objects { myInt -> 1 myString -> "some string" } Then a typical use of either sort descriptors or a comparison proc. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com