I want to sort an NSMutableArray by a value which is stored inside a array in the object :)
For better overview i have included the Array. I would like to sort by time (starttijd)
With the NSSortDescriptor i managed to sort by url of status but not by the time.
This is my current code for sorting:
NSSortDescriptor *sortDescriptor; sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"starttuhd" ascending:YES]; NSArray *sortDescriptors = [NSArray arrayWithObject:sortDescriptor];
sortedarray = [alleitems sortedArrayUsingDescriptors:sortDescriptors]; NSLog(@"Sorted array: %@", sortedarray);

custom_fieldswith differentstarttijddates? what should be picked for sorting?