我有一个字母数字名称列表,当我运行下面的代码时,数字在A-Z (0-9 A-Z).
我怎样才能NSSortDescriptor把这个数字放在数组的末尾(A-Z 0-9)?
NSSortDescriptor *sortNameSortDescriptor =
[NSSortDescriptor sortDescriptorWithKey:@"sortName"
ascending:YES
selector:@selector(localizedStandardCompare:)];
NSArray *sortedArray = [sortSectionsArray sortedArrayUsingDescriptors:@[ sortNameSortDescriptor ]];