pub fn sort_by_rank(nodes: Vec<NodeId>, fbas: &Fbas) -> Vec<NodeId> {
    let scores = rank_nodes(&nodes, fbas);

    sort_by_score(nodes, &scores)
}
/// Rank nodes and sort them by "highest rank score first". Nodes with equal score are sorted by
/// node ID (lowest ID first).
Rank nodes and sort them by "highest rank score first". Nodes with equal score are sorted by
node ID (lowest ID first).
Rank nodes and sort them by " highest rank score first " . Nodes with equal score are sorted by node ID ( lowest ID first ) .
pub fn sort_by_rank(nodes: Vec<NodeId>, fbas: &Fbas) -> Vec<NodeId> {
    let scores = rank_nodes(&nodes, fbas);
    sort_by_score(nodes, &scores)
}
pub fn sort_by_rank ( nodes : Vec < NodeId > , fbas : & Fbas ) -> Vec < NodeId > { let scores = rank_nodes ( & nodes , fbas ) ; sort_by_score ( nodes , & scores ) }
Rank nodes and sort them by "highest rank score first".
Rank nodes and sort them by " highest rank score first " .
nodes
Vec<NodeId>
fbas
&Fbas
nodes
Vec<NodeId>
fbas
&Fbas