update CandidatePeer to ensure it stays sorted consistently