title: field_name = ordering[0].lstrip('-') throws IndexError: tuple index out of range in DRF rest_framework\pagination.py
body: <p>I am getting error  IndexError: tuple index out of range while using CursorPagination of DRF.
  my code-</p>
  <pre><code>class CursorSetPagination(CursorPagination):
      page_size = 10
      page_size_query_param = 'page_size'
      ordering = '-created_at' 
  
  
  class WalletCreditViewset(viewsets.ReadOnlyModelViewSet):
  
      authentication_classes = [JWTAuthentication]
      permission_classes = [IsAuthenticated]
      pagination_class = CursorSetPagination 
      serializer_class =  WalletCreditSerializer
  
      def get_queryset(self):
          queryset = PaymentOrder.objects.filter(user=self.request.user)
  
          return queryset
  </code></pre>
  <p>The errors comes when the entry in the database table for a particular user cross the value of page_size.</p>
  <p>Ex- if some user have 5 payment order then there will be no error but when the same user cross 10 payment order then this error occurs.</p>