I have a plist file which has 6 items in it.
when I load it into an array and show it in a table view, it is not sorted like above and looks like this:
this is the code I'm using:
NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"ghazal2" ofType:@"plist"];
myDictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath];
myArray = [myDictionary allKeys];
it's still unsorted whe I use allValues
how can I make it right?