fix bug ordering QuerySet