I have a NSMutableDictionary with string keys and every key has its own array. I want to re-sort the dictionary with keys value alphabetically. How can I do thi
NSMutableDictionary
NSDictionary *yourDictionary; NSArray *sortedKeys = [yourDictionary.allKeys sortedArrayUsingDescriptors:@[[NSSortDescriptor sortDescriptorWithKey:@"self" ascending:YES]]]; NSArray *sortedValues = [yourDictionary objectsForKeys:sortedKeys notFoundMarker:@""];