sort_with_indices

Function sort_with_indices 

Source
pub fn sort_with_indices(data: &[f64]) -> (Vec<f64>, Vec<usize>)
Expand description

Sort with indices: returns (sorted_data, original_indices)