Sort mutable array containing dictionary

NSComparator compareDistances = ^(id string1, id string2) { NSNumber *number1 = [NSNumber numberWithFloat:[string1 floatValue]]; NSNumber *number2 = [NSNumber numberWithFloat:[string2 floatValue]]; … More