code: def _find_permutation(a, b):
      """find the permutation from a to b"""
      t = np.argsort(a)
      u = np.argsort(b)
      u_ = _inverse_permutation(u)
      return t[u_]
  
file_path: catboost/contrib/python/scikit-learn/py2/sklearn/datasets/rcv1.py
imports: import logging
  from os.path import exists, join
  from gzip import GzipFile
  from io import BytesIO
  from contextlib import closing
  import numpy
  import scipy.sparse
  from .base import get_data_home
  from .base import Bunch
  from .base import _pkl_filepath
  from ..utils.fixes import makedirs
  from ..externals import joblib
  from .svmlight_format import load_svmlight_files
  from ..utils import shuffle
label_desc: Use image node_id 3 for calling a global function with example usage: _find_permutation(a, b) and returns: t