I am trying to sort RLMResults by 2 properties, 1st sort value, and 2nd name, but no luck. I get the wrong results when I try to sort by 2 properties.
I want me to sort the results using the sort value, and then in alphabetical order.
self.allTasks = [[[Task allObjects]
sortedResultsUsingProperty:@"priorityLevelSortValue" ascending:YES]
sortedResultsUsingProperty:@"taskName" ascending:YES];
Any help would be very noticeable.
Thank.
source
share