code: def newest(self):
          
          if self._order_by == 'newest':
              return self.first
          if self._order_by == 'oldest':
              return self.last
          return max(self.entries, key=lambda x: (x.date, x.id))
docs: Gets the newest entry in the view, regardless of sort order