I wanted to sort the integer values of my NSMutableArray. I don't know to to do it.
Any help please
I wanted to sort the integer values of my NSMutableArray. I don't know to to do it.
Any help please
NSMutableArray *array = /* loaded from file */;
array = [NSMutableArray arrayWithArray:[array sortedArrayUsingSelector: @selector(compare:)]];
[array sortedArrayUsingSelector: @selector(compare:)];