Guide API
Skip to main content

sort_order

Function sort_order 

Source
pub fn sort_order(
    model: &dyn TableModel,
    col: usize,
    dir: SortDir,
) -> Vec<usize>
Expand description

The display order of model sorted by column col: model row indices, stable for ties (equal keys keep model order in both directions). Numbers come before text in both directions.