NSArray sorting

Example of sorting an NSArray

NSArray *sortedArray = [array sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];

Posted: 28/03/2010