scipy.sparse.csr_matrix. sorted_indices# csr_matrix.sorted_indices()[source]# Return a copy of this array/matrix with sorted indices. Returns: sparse array/matrixA copy of this array/matrix with sorted indices.