scipy.sparse.csr_matrix.sorted_indices

csr_matrix.sorted_indices()

Return a copy of this matrix with sorted indices

This Page