I'm trying to create a sortDescriptor for an NSArray
of NSStrings
.
I'm just not sure what to put for the key
parameter as I want to use "self" or something equivalent as I just want to use the standard NSString
compare
.
In this code...
[NSSortDescriptor sortDescriptorWithKey:@"..." ascending:YES];
What should I put where the ... is? self
?