pub fn rank(found: &mut [Candidate])
The order of a search: passing first, by cost, then mass, then motor and gearbox (so that equal weights come out the same every run); the rest by how far beyond their tightest check they are.