How do I sort an NSMutableArray with custom objects in it?

What I want to do seems pretty simple, but I can’t find any answers on the web. I have an NSMutableArray of objects, and let’s say they are ‘Person’ objects. I want to sort the NSMutableArray by Person.birthDate which is an NSDate. I think it has something to do with this method: NSArray *sortedArray = … Read more