NSComparator - sorting objects in a NSMutableArray

"Matt Kime" <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
I have an NSMutableArray populated with objects. I want do sort them
based on a double type property. sortUsingComparator seems to be the
way to go. this means i need to implement a "compare" function in the
object.

 this is the first time i'm tackling this technique and i'm finding
the javadocs too terse to understand. does anyone know where i can
find an example of this?

thanks,
matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.