Sorting Line Explanation Needed


#1

Can someone break this line down for me and tell me what it means?

  • (void) sortUsingDescriptors: (NSArray *) sortDescriptors;

Thank you!


#2

If the method - (void) sortUsingDescriptors:(NSArray *)sortDescriptors belonged to a collection class, it would mean this: sort the collection according to the criteria specified in the sortDescriptors.


#3

Ibex10, I hope to be as smart as you one day. Thanks again.