parameters: (a)
return_statement: return b
docstring: Return a copy of an array sorted along the first axis.
  
      Parameters
      ----------
      a : array_like
          Array to be sorted.
  
      Returns
      -------
      sorted_array : ndarray
          Array of the same type and shape as `a`.
  
      See Also
      --------
      sort
  
      Notes
      -----
      ``np.msort(a)`` is equivalent to  ``np.sort(a, axis=0)``.
docstring_summary: Return a copy of an array sorted along the first axis.
docstring_tokens: Return a copy of an array sorted along the first axis .
function: def msort(a):
      """
      Return a copy of an array sorted along the first axis.
  
      Parameters
      ----------
      a : array_like
          Array to be sorted.
  
      Returns
      -------
      sorted_array : ndarray
          Array of the same type and shape as `a`.
  
      See Also
      --------
      sort
  
      Notes
      -----
      ``np.msort(a)`` is equivalent to  ``np.sort(a, axis=0)``.
  
      """
      b = array(a, subok=True, copy=True)
      b.sort(0)
      return b
function_tokens: def msort ( a ) : b = array ( a , subok = True , copy = True ) b . sort ( 0 ) return b