title: Changing ordering of results in django-haystack
body: <p>I am using django-haystack for search. By default it is showing oldest objects first whereas i want to show latest on top. Can anyone guide me how can i do this?
  My code sample is shown below:</p>
  <h3>search_indexes.py</h3>
  <pre><code>class PostIndex(indexes.RealTimeSearchIndex, indexes.Indexable):
      text = indexes.CharField(document=True, use_template=True)
      title = indexes.CharField(model_attr='title')
      created = indexes.DateTimeField(model_attr='created')
   
      def get_model(self):
          return Post
  
      def index_queryset(self):
          return self.get_model().objects.filter(created__lte=datetime.datetime.now())
  </code></pre>
  <p>Can anyone tell me the exact file where i'll have to make changes and what changes? Do i have to make changes to query.py file in haystack? Query.py has</p>
  <pre><code> def order_by(self, *args):
          &quot;&quot;&quot;Alters the order in which the results should appear.&quot;&quot;&quot;
          clone = self._clone()
  
          for field in args:
              clone.query.add_order_by(field)
          
          return clone
  </code></pre>
  <p>How can i make changes to this to show the latest on the top?</p>