This is documentation for an old release of SciPy (version 0.8.). Read this page in the documentation of the latest stable release (version 1.15.1).

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