You should use one of the other methods like sortedArrayUsingSelector:
to gain this level of control.
Also, don't just cast the result to a mutable array. If the array is mutable, use the method which sorts the mutable array. If you use the method to create a new array, make sure it is mutable by calling mutableCopy
on the result.