'Given a queue queryset, return the sorted version.'

def sort(self, qs, date_sort='created'):

    if self.use_es:
        return self._do_sort_es(qs, date_sort)
    if (qs.model == Webapp):
        return self._do_sort_webapp(qs, date_sort)
    return self._do_sort_queue_obj(qs, date_sort)
