pub fn voter_nodes(&self) -> Vec<u64> {
        let mut nodes: Vec<u64> = self.config.voters.ids().iter().map(|id| *id).collect();
        nodes.sort_by_key(|id| *id);
        nodes
    }
// returns a sorted slice of voters.
returns a sorted slice of voters.
returns a sorted slice of voters .
pub fn voter_nodes(&self) -> Vec<u64> {
        let mut nodes: Vec<u64> = self.config.voters.ids().iter().map(|id| *id).collect();
        nodes.sort_by_key(|id| *id);
        nodes
    }
pub fn voter_nodes ( & self ) -> Vec < u64 > { let mut nodes : Vec < u64 > = self . config . voters . ids ( ) . iter ( ) . map ( | id | * id ) . collect ( ) ; nodes . sort_by_key ( | id | * id ) ; nodes }
returns a sorted slice of voters.
returns a sorted slice of voters .
&self