NSArrayの要素が文字列の場合に数値としてソートする場合
http://ssdkfk.wordpress.com/2011/07/25/nsarrayにnsdictionaryを入れている時のソートはどうする?/
NSSortDescriptor *descriptor=[[[NSSortDescriptor alloc] initWithKey:@"number.intValue" ascending:YES] autorelease]; NSLog(@"Sorted :::: %@",[[data sortedArrayUsingDescriptors:[NSArray arrayWithObject:descriptor]] description]);