pub fn sort(&mut self) {
        // The permutation crate lets you execute a sort on anything implements
        // `Ord` and return the sort order, which can then be applied to other
        // columns.
        let perm = permutation::sort(self.group_keys.as_slice());
        self.group_keys = perm.apply_slice(self.group_keys.as_slice());
        self.aggregates = perm.apply_slice(self.aggregates.as_slice());
        self.group_keys_sorted = true;
    }
/// Executes a mutable sort of the rows in the result set based on the
/// lexicographic order of each group key column.
///
/// TODO(edd): this has really poor performance. It clones the underlying
/// vectors rather than sorting them in place.
Executes a mutable sort of the rows in the result set based on the
lexicographic order of each group key column.

this has really poor performance. It clones the underlying
vectors rather than sorting them in place.
Executes a mutable sort of the rows in the result set based on the lexicographic order of each group key column . this has really poor performance . It clones the underlying vectors rather than sorting them in place .
pub fn sort(&mut self) {
        // The permutation crate lets you execute a sort on anything implements
        // `Ord` and return the sort order, which can then be applied to other
        // columns.
        let perm = permutation::sort(self.group_keys.as_slice());
        self.group_keys = perm.apply_slice(self.group_keys.as_slice());
        self.aggregates = perm.apply_slice(self.aggregates.as_slice());
        self.group_keys_sorted = true;
    }
pub fn sort ( & mut self ) { // The permutation crate lets you execute a sort on anything implements // `Ord` and return the sort order, which can then be applied to other // columns. let perm = permutation :: sort ( self . group_keys . as_slice ( ) ) ; self . group_keys = perm . apply_slice ( self . group_keys . as_slice ( ) ) ; self . aggregates = perm . apply_slice ( self . aggregates . as_slice ( ) ) ; self . group_keys_sorted = true ; }
Executes a mutable sort of the rows in the result set based on the
lexicographic order of each group key column.
Executes a mutable sort of the rows in the result set based on the lexicographic order of each group key column .
&mut self
&mut self