pub const BY_PREV: f64 = 0.0;
When sorting solutions, give absolute priority to previous joints values (the closer to the previous value, the better).