code: def human_sorting(the_list):
      
      def try_int(s):
          try:
              return int(s)
          except ValueError:
              return s
  
      def alphanum_key(s):
          """Turn a string into a list of string and number chunks.
  
          For instance : "z23a" -> ["z", 23, "a"]
          """
          return [try_int(c) for c in re.split('([0-9]+)', s)]
  
      the_list.sort(key=alphanum_key)
      return the_list
docs: Sort the given list in the way that humans expect.
  
      From http://stackoverflow.com/a/4623518
  
      :param the_list: The list to sort.
      :type the_list: list
  
      :return: The new sorted list.
      :rtype: list