Possible Duplicate:
Can i sort the NSDictionary on basis of key in Objective-C?
I have a several strings in a .plist file that I am trying to return into the NSDictionary then into an array but the order being returned isn't the same as I saved it in the playlist. So far I have tried
NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path];
NSArray *strs = [NSArray arrayWithArray:[dict allKeys]];
strs = [strs sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)];
but that is only returning the key names.