Possible Duplicate:
How to sort an NSMutableArray with custom objects in it?
How does one sort an array of objects by accessing their NSDate properties?
I know one can use [mutableArray sortUsingSelector:@selector(compare:)];
on an array of dates, but how does one do it by accessing a NSDate property on each element in the array, sorting the objects by earliest date to latest date?