Hi guys,
I have an object with different values that is name,nameid, lifebeging,lifeEndiging .... etc,
for loop
{
// here i will get name, ids, other value for each object
Search *Obj=[artistslist objectAtIndex:i];
}
0 obj.name= //string values1 get from parser 1 obj.name= //string values1 2 obj.name= //string values1 3 obj.name= //string values1 4 obj.name= //string values1
I am getting values in the artistList then i need to sort only by name not other feilds
when i use this below statement
[artistsList sortUsingSelector:@selector(NSOrderedAscending:)];
i am getting exception here ,it is not working.