I have an array like this:
NSArray *needSortedArray = @[@"Alex", @"Rachel", @"Mohamad"];
and an array of index like this:
NSArray *indexArray = @[@1, @0, @2];
So the output I want will look like this:
needSortedArray = @[@"Rachel", @"Alex", @"Mohamad"];
How can I do this? Is it possible?