i have a mutable array with objects "XX" and i want to sort the array according to the variables contained in the object "XX" (see below the structure of the object).
I want to sort the array ascending by VALUE1,VALUE2 and then by NAME.
Is there any way to do it?
@interface XX:NSObject{
float VALUE1;
float VALUE2
NSString* NAME;
}
@end interface
Any help , very much appreciated!!! :-) Thank you!