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 JSON из файла serializers.py