code: def sort(self, order="asc"):
          
          self.__prepare()
          if isinstance(self._json_data, list):
              if order == "asc":
                  self._json_data = sorted(self._json_data)
              else:
                  self._json_data = sorted(self._json_data, reverse=True)
  
          return self
docs: Getting the sorted result of the given list
  
          :@param order: "asc"
          :@type order: string
  
          :@return self