根据某个字段 排序,

  NSSortDescriptor* sortByA = [NSSortDescriptorsortDescriptorWithKey:@"cityStartLetter"ascending:YES];

    [self.cityListsortUsingDescriptors:[NSArrayarrayWithObject:sortByA]];

原文地址:https://www.cnblogs.com/guligei/p/3010671.html