Como classificar o NSPredicate

Estou tentando classificar minha matriz enquanto estiver usando o NSPredicate. Li outros locais que possivelmente usando o NSSortDescriptor podem ser uma opção. Tendo algum problema para descobrir isso.

Estou tentando classificar minha matriz por companyNam

Qualquer conselho apreciado, obrigado

Greg

- (void)filterSummaries:(NSMutableArray *)all byNameThenBooth:(NSString*) text results:(NSMutableArray *)results
{
    [results removeAllObjects];

    if ((nil != text) && (0 < [text length])) {        
        if ((all != nil) && (0 < [all count])) {
            NSPredicate *predicate = [NSPredicate predicateWithFormat: @"companyName contains[cd] %@ OR boothNumber beginswith %@", text, text];
            [results addObjectsFromArray:[all filteredArrayUsingPredicate:predicate]];        
        }
    }
    else {
        [results addObjectsFromArray:all];
    }
}

questionAnswers(2)

yourAnswerToTheQuestion