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
NSMutableArray
You use NSSortDescriptor to sort an NSMutableArray with custom objects
NSSortDescriptor *sortingDescriptor; sortingDescriptor = [[NSSortDescriptor alloc] initWithKey:@"birthDate" ascending:YES]; NSArray *sortArray = [drinkDetails sortedArrayUsingDescriptors:@[sortDescriptor]];