.order_by("id") # id .order_by("-id") # order by id in reverse order querySetName = YourModel.objects.filter(field_one="some value").order_by("-id")
Entry.objects.filter(pub_date__year=2005).order_by('-pub_date', 'headline')