ios 字典数组排序
NSArray *sortDescriptors = [NSArray arrayWithObject:[NSSortDescriptor sortDescriptorWithKey:@"level" ascending:YES]];
[userlist sortUsingDescriptors:sortDescriptors];
NSArray *sortDescriptors = [NSArray arrayWithObject:[NSSortDescriptor sortDescriptorWithKey:@"level" ascending:YES]];
[userlist sortUsingDescriptors:sortDescriptors];
发表回复