我怎样才能在Objective-C中对NSMutableArray进行排序[重复]

问题描述

||                                                                                                                   这个问题已经在这里有了答案:                                                      

解决方法

[yourMutableArray sortUsingSelector:@selector(compare:)];