You do not need to start with two keys. You must initialize two sort descriptors. Then add them to the array, and then pass that array with sort descriptors to sort.
Update
NSSortDescriptor *col1SD = [NSSortDescriptor sortDescriptorWithKey:@"column1" ascending:NO];
NSSortDescriptor *col2SD = [NSSortDescriptor sortDescriptorWithKey:@"column2" ascending:NO];
[someMutableArray sortUsingDescriptors:@[col1SD, col2SD]];
source
share