Skip to main content

sort_top_level_rows

Function sort_top_level_rows 

Source
pub fn sort_top_level_rows(rows: &mut Vec<ReportRowView>, order: SharedSort)
Expand description

Sort top-level rows in place according to order. Children ride with their parent — they’re adjacent in the flattened view and we preserve that adjacency by sorting on a key derived from each top-level row alone.