Skip to main content

sort_stats

Function sort_stats 

Source
pub fn sort_stats(stats: &mut [Stat], sort: SortBy, reverse: bool)
Expand description

Sort per-author rows by the chosen column, descending by default. With reverse, the order is flipped to ascending. The sort is stable, so ties keep their relative input order.