I have an array filled with [UIFont familyNames] but they aren't in alphabetical order.
How do I do this?
I have an array filled with [UIFont familyNames] but they aren't in alphabetical order.
How do I do this?
Take a look here:
The simplest approach is, to provide a sort selector (see the link for details):
sortedArray = [anArray sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)];