Order queryset for comparison.