I want to sort an NSMutableArray alphabetically.
Maybe this can help you:
[myNSMutableArray sortUsingDescriptors:@[[NSSortDescriptor sortDescriptorWithKey:@"firstName" ascending:YES],[NSSortDescriptor sortDescriptorWithKey:@"lastName" ascending:YES]]];
All is acording to NSSortDescriptor...