Possible Duplicate:
How can I reverse a NSArray in Objective-C?
I want sort the NSArray
descending by index.
I can sort array values how can I sort by index...
NSArray* arr = [[NSArray alloc] initWithObjects:@"First",@"Second",@"Third",@"Fifth",@"Last",nil];
The result should be like this
- Last
- Fifth
- Third
- Second
- First
Is there any direct method available in iOS?