@ -34,7 +34,7 @@ class ExampleList(generics.ListCreateAPIView):
value = random.randrange(2, 20)
queryset = queryset.annotate(sort_id=F('id') % value).order_by('sort_id', 'id')
else:
queryset = queryset.order_by('id')
queryset = queryset.order_by('created_at')
return queryset
def perform_create(self, serializer):