I have an array that contains values like 0,3,2,8 etc.I want to sort my array in increasing order.Please tell me how to do this.
Thanks in advance!!
You can sort the array in simple method using sortUsingSelector the code as follows.
sortUsingSelector
[array sortUsingSelector:@selector(compare:options:)]; NSLog(@"array after sort in max:%@",array);
i think its the simplest way without using any descriptors.