code: def _sorted_nicely(self, l):
          
          convert = lambda text: int(text) if text.isdigit() else text
          alphanum_key = lambda key: [ convert(c) for c in re.split('([0-9]+)', key) ]
          return sorted(l, key = alphanum_key)
docs: Return list sorted in the way that humans expect.
          
          :param l: iterable to be sorted
          :returns: sorted list