NSArray.sortedArrayUsingComparator(OrderedAscending)
NSArray.sortedArrayUsingComparator(OrderedAscending)
- Subject: NSArray.sortedArrayUsingComparator(OrderedAscending)
- From: Nathan Dumar <email@hidden>
- Date: Tue, 1 Jun 2004 20:37:31 -0400
If I do this:
users = users.sortedArrayUsingComparator(OrderedAscending);
what key is used to sort? (users is an NSArray of custom type
UserClass)
How can I tell it to use user.name or user.ssn or ... ?
Or am I going about this all wrong? (I'm trying to recreate some of
the basic functionality of a WODisplayGroup, after deciding not to use
it, for reasons mentioned in an earlier post.)
Sorry to bother with such a simple question, but I could not get enough
information from the docs to figure this out. (I found similar
questions in the omnigroup, but none that address this specifically.)
Thank you,
Nathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.