[Solved] Sort An Array in Objective C with Multiple Items [closed]


I’m assuming you want to sort on date…

NSArray *sortedArray = [FullData sortedArrayUsingDescriptors:@[[NSSortDescriptor sortDescriptorWithKey:@"FileDate" ascending:NO]];

That should do it.

2

solved Sort An Array in Objective C with Multiple Items [closed]