code: def files(self, pattern=None, sort_key=lambda k: k, sort_reverse=False, abspath=False):
          
          return sorted(self.iterfiles(pattern, abspath=abspath), key=sort_key, reverse=sort_reverse)
docs: Return a sorted list containing relative path of all files (recursively).
  
          :type pattern: str
          :param pattern: Unix style (glob like/gitignore like) pattern
  
          :param sort_key: key argument for sorted
  
          :param sort_reverse: reverse argument for sorted
  
          :rtype: list
          :return: List of all relative files paths.