根据某个字段 排序,

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

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

posted @ 2013-04-09 18:20  路在脚下,  阅读(121)  评论(0编辑  收藏  举报