NSArray裏有 sortedArrayUsingSelector:等排序的方法,可是最簡單的倒序排列的方法以下:spa
NSArray *deArray = [[keyArrays reverseObjectEnumerator] allObjects];排序