(sorry about the long title)
I have a custom object Person, which in turn has an NSSet which has several custom objects called Appointment. A Person therefo
NSSet
If you have the data in an NSArray form you can sort it like this:
NSArray *sortedPersonArray = [coreDataPersonArray sortedArrayUsingSelector:@selector(compare:)]; - (NSComparisonResult)compare:(Person *)personObject { return [self.startSecond compare:personObject.startSecond]; }