for (__strong NSString* sortKey in sortKeys)
NSArray * sortComponents = [sortKey componentsSeparatedByString:@":"];
if (sortComponents.count > 1)
NSNumber * customAscending = sortComponents.lastObject;
ascending = customAscending.boolValue; //ascending may change other param's ascending
sortKey = sortComponents;
NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:sortKey ascending:ascending];
ascending may change other property's ascending
Given the age of this issue, and the volume of issues we have to work through, I've decided to close this alongside a number of other older issues.
If you can still replicate the issue under the latest in-development version of MagicalRecord (3.0 at the time of writing), please feel free to re-open and one of @magicalpanda/team-magicalrecord will take another look. Thanks!