how to change the order of reverse the order of the of filter object in python sqlite code example Example: django desc order Obj.objects.all().order_by('-id')