- Inherits from:
- NSObject
- Declared in:
- BDControl/BDSortOrdering.h
BDControl extends Foundation's NSArray class by adding the ability to sort an array based on an array of sort ordering objects, and return a new sorted array. See BDSortOrdering for details.
BDControl extends Foundation's NSArray class by adding the ability to sort an array based on an array of sort ordering objects, and return a new sorted array. See BDSortOrdering for details.
This sorting operation may be memory-intensive. If a memory allocation fails, NSMallocException
will be raised.
- Sorting
- -sortedArrayUsingKeyOrderArray:
- (NSArray *)sortedArrayUsingKeyOrderArray:(NSArray *)keyOrderArray
Sorts an array using the given key-order array, and returns a new sorted array. The key-order array consists of BDSortOrdering objects that represent a particular way of sorting. In the key-order array they are ordered from most- to least-specific.