def sorted_indices(self):
        A = self.copy()
        A.sort_indices()
        return A

        # an alternative that has linear complexity is the following
        # although the previous option is typically faster
        # return self.toother().toother()
Return a copy of this matrix with sorted indices
dataset/ETHPy150Open scipy/scipy/scipy/sparse/compressed.py/_cs_matrix.sorted_indices