cocoanetics.com
Advanced Sorting of NSArray with Functions
I’ve already discussed previously how to sort NSArray with descriptors and selectors. Even how to unsort it i.e. shuffle it. You can use descriptors to sort by KVC-compliant properties. Selec…