#importint main(int argc, const char * argv[]) { @autoreleasepool { NSArray* array = [NSArray arrayWithObjects:@"RaspBerry", @"Peach", @"Banana", @"BlackBerry", @"BlueBerry", @"Apple", nil]; NSLog(@"%@", array); NSArray* arraySorted = [array sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)]; NSLog(@"%@", arraySorted); } return 0;}