fn sort<A: Axis>(candidates: &mut [Candidate])