I have an NSArray of NSNumber objects that I have successfully sorted in ascending order using the following:
NSArray
NSNumber
[myArray sortedArrayU
use sortarrayusingcomparator method like that
NSArray *sortedArray = [array sortedArrayUsingComparator: ^NSComparisonResult(id obj1, id obj2){ return [obj2 compare:obj1]; }];
by reversing the order of objects you will obtain a descending order