code: def order_by(self, attribute=None, *, ascending=True):
          
          attribute = self._get_mapping(attribute) or self._attribute
          if attribute:
              self._order_by[attribute] = None if ascending else 'desc'
          else:
              raise ValueError(
                  'Attribute property needed. call on_attribute(attribute) '
                  'or new(attribute)')
          return self
docs: Applies a order_by clause
  
          :param str attribute: attribute to apply on
          :param bool ascending: should it apply ascending order or descending
          :rtype: Query