code: def apply_order(self):
      '''Naively apply query orders.'''
      self._ensure_modification_is_safe()
  
      if len(self.query.orders) > 0:
        self._iterable = Order.sorted(self._iterable, self.query.ordersf apply_order(self):
      '''Naively apply query orders.'''
      self._ensure_modification_is_safe()
  
      if len(self.query.orders) > 0:
        self._iterable = Order.sorted(self._iterable, self.query.orders)
docs: Naively apply query orders.