After you fetch data into an application, you often need to perform in-memory sorting or filtering of that data. The methods in this section provide support for both of those tasks.
filteredArrayWithQualifier(NSArrayarray, EOQualifierqualifier)Use this method to filter an array of enterprise objects based on the criteria specified by qualifier.
(Stringkey, NSSelectorselector)Use this method to construct a sort ordering to use when sorting enterprise objects in memory. The key parameter specifies the property in the enterprise object on which to perform the sort. The selector parameter specifies the sorting order and is usually one of the static fields in the EOSortOrdering class, such as CompareAscending.
sortedArrayUsingKeyOrderArray(NSArrayarray, NSArraysortOrderings)Use this method to sort an array of enterprise objects in memory. The array of sortOrderings need contain only one EOSortOrdering object, which you construct with the EOSortOrdering constructor.
Last updated: 2007-07-11