我正在使用TouchJSON来检索我的应用程序的信息,并将其放入字典中.我希望能够按难度和等级等值对它进行排序.我将如何处理?我已包含我的.m文件.谢谢,enbrhttp://pastie.org/1091334
NSSortDescriptor *ratingsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"ratings" ascending:YES] autorelease]; rows = [rows sortedArrayUsingDescriptors:[NSArray arrayWithObject:ratingsSortDescriptor]]; @H_301_13@