code: def sort(self, by=None, reverse=False):
          
          if by is None:
              by = self.kdims
          elif not isinstance(by, list):
              by = [by]
          sorted_columns = self.interface.sort(self, by, reverse)
          return self.clone(sorted_columns)
docs: Sorts the data by the values along the supplied dimensions.
  
          Args:
              by: Dimension(s) to sort by
              reverse (bool, optional): Reverse sort order
  
          Returns:
              Sorted Dataset