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