I have an NSArray of objects that all subclass with their different types from a more abstract class.
I would like to sort the array by the object's class type. For example:
NSArray with CLASSA CLASSB AND CLASS C subclassed from CLASSz
myArray = {C, B, A}
Sort myArray decending: {A, B, C}
I see sort descriptors and that seems like it's the right path but I am comparing isKindOfClass which is not a property so can not be used in the NSSortDescriptiors thing.
Thanks for any help.