code: def _sort_nbrs(smat: CSR):
      for i in prange(smat.nrows):
          sp, ep = smat.row_extent(i)
          kvp_minheap_sort(sp, ep, smat.colinds, smat.values)
  
imports: from sys import intern
  import logging
  import warnings
  import pandas
  import numpy
  import scipy.sparse
  import scipy.sparse.linalg
  from csr import CSR, create_from_sizes, create_empty
  import csr.kernel
  from numba import njit, prange
  from numba.typed import List
  from lenskit import util, DataWarning, ConfigWarning
  from lenskit.data import sparse_ratings
  from lenskit.sharing import in_share_context
  from lenskit.util.parallel import is_mp_worker
  from lenskit.util.accum import kvp_minheap_insert, kvp_minheap_sort
  from .None import Predictor
label_desc: Use image node_id 2 for calling a global function with example usage: _sort_nbrs(smat) without return types