Im using an NSDictionary from a tutorial that i found, but I just had a quick question as to why it is being sorted alphabetically?
NSArray *array = [[NSArray alloc] initWithObjects:userName, nil];
NSArray *array2 = [[NSArray alloc] initWithObjects:@"Other Data", @"Second Entry", nil];
NSDictionary *temp =[[NSDictionary alloc] initWithObjectsAndKeys:array, @"Name", array2, @"A",nil];
self.sortedKeys =[[temp allKeys] sortedArrayUsingSelector:@selector(compare:)];
Thanks for the help.