title: Django - How does order_by work?
body: <p>I'd like to know how Django's <code>order_by</code> works if the given <code>order_by</code> field's values are same for a set of records. Consider I have a <code>score</code> field in DB and I'm filtering the queryset using <code>order_by('score')</code>. How will records having the same values for score arrange themselves? </p>
  
  <p>Every time, they're ordered randomly within the subset of records having equal score and this breaks the pagination at client side. Is there a way to override this and return the records in a consistent order?</p>
  
  <p>I'm Using Django 1.4 and PostgreSQL.</p>