code: def get_order(row, col):
      """Check if a coo matrix with given row and col is C or F order.
  
      Args:
          row (:ref:`ndarray`): The row indices of the matrix
              entries.
          col (:ref:`ndarray`): The column indices of the matrix
              entries.
  
      Returns:
          Returns ``'C'`` when a coo matrix with given row and column indices is
          C order, in other words, the row indices are sorted. Returns ``'F'``
          when it is F order, in other words, the column indices are sorted.
          Returns ``'other'`` otherwise.
      """
      if _is_c_order(row, col):
          return "C"
      if _is_c_order(col, row):
          return "F"
      return "other"
  
file_path: chainer/chainer/utils/sparse.py
imports: import numpy
  import chainer
  from chainer import backend
  from chainer import cuda
label_desc: Use image node_id 3 for calling a global function with example usage: get_order(row, col) and returns: str, str, str