Possible Duplicate:
How can I sort an NSArray containing NSDictionaries?
I have an array of dictionaries.. This is what my dictionary looks like
MOD = 0;
MAU= 30;
MODN = "SOME WORD";
MODID = 518;
I have tried sorting the array of dictionaries like this
sortedArray = [[ICArray valueForKey:@"MODN"] sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)];
However this only gives me an array of the values in MODN in alphabetical order... where in actual fact I am hoping to get the each dictionary sorted into an array.
Any help would be greatly appreciated..