class EstablecimientoListView(generics.ListCreateAPIView):
    queryset = Establecimiento.objects.order_by('nombre')
serializer_class = EstablecimientoSerializer

def filter_queryset(self, request, queryset, view):
    qs = super(EstablecimientoListView, self).filter_queryset(request,
        queryset, view)
qs = qs.order_by('nombre')
return qs
django rest framework , order_by a JSON from serializers.py file