code: def sorted(self, key=None, reverse=False):
          
          return self._transform(transformations.sorted_t(key=key, reverse=reverse))
docs: Uses python sort and its passed arguments to sort the input.
  
          >>> seq([2, 1, 4, 3]).sorted()
          [1, 2, 3, 4]
  
          :param key: sort using key function
          :param reverse: return list reversed or not
          :return: sorted sequence