Added sortBy to NSArray and NSSet