> Hi there,
> 
> Is there anyone who knows how to use the sorting methods of a NSMutableArray
> from within Java?

Hi Stef,

Here's a method that works for me.

Check out EOSortOrdering in WOInfoCenter.

public void sortArrayAscendingWithKey(NSArray theArray, String theKey) {

EOSortOrdering so = EOSortOrdering.sortOrderingWithKey(theKey,
EOSortOrdering.CompareAscending);

NSArray sortOrderings = new NSArray(so);
EOSortOrdering.sortArrayUsingKeyOrderArray((NSMutableArray)theArray,
sortOrderings);
}

Hope this helps

--Marc Respass
  mailto:[EMAIL PROTECTED]
  http://www.htl.com/

Reply via email to