code: def filter_queryset(self, request, queryset, view):
          self.ordering_param = view.SORT
          ordering = self.get_ordering(request, queryset, view)
          if ordering:
              return queryset.order_by(*ordering)
          return queryset