code: def human_order_sorted(l):
      """Sorts string in human order (i.e. 'stat10' will go after 'stat2')"""
  
      def atoi(text):
          return int(text) if text.isdigit() else text
  
      def natural_keys(text):
          if isinstance(text, tuple):
              text = text[0]
          return [atoi(c) for c in re.split(r"(\d+)", text)]
  
      return sorted(l, key=natural_keys)
  
file_path: nipype/nipype/utils/misc.py
imports: import os
  import sys
  import re
  from collections.abc import Iterator
  from warnings import warn
  from looseversion import LooseVersion
  import numpy
  import textwrap
label_desc: Use image node_id 1 for calling a global function with example usage: human_order_sorted(l) and returns: sorted, unknown, unknown