scipy.sparse.bsr_matrix.ensure_sorted_indices

bsr_matrix.ensure_sorted_indices(inplace=False)

Return a copy of this matrix where the column indices are sorted

This Page