fn sort_edges(edges: &mut [Edge])Expand description
Sort edges most-reliable (lowest value) first.
Ties break on construction order, so the result does not depend on the sort’s internal choices. Real ties are common in synthetic data and essentially absent in measured phase.