/// Sort the neuron's samples by their index.
Sort the neuron's samples by their index.
Sort the neuron ' s samples by their index .
pub fn sort_index(mut self) -> Self {
        self.samples
            .sort_unstable_by(|a, b| a.sample_id.cmp(&b.sample_id));
        self
    }
pub fn sort_index ( mut self ) -> Self { self . samples . sort_unstable_by ( | a , b | a . sample_id . cmp ( & b . sample_id ) ) ; self }
Sort the neuron's samples by their index.
Sort the neuron ' s samples by their index .
mut self