Assuming it quacks like a duck, you can use operator.attrgetter()
Combine queryset by turning it into a list:
queryset_list = list(queryset1).extend(list(queryset2))
Sort the list by:
queryset_list.sort(key=operator.attrgetter(‘attribute to sort by’))
Yeah, I forgot the sort function sorts in place. sort = list.sort would not be good.
Also, for those wondering, you can just import operator. “import operator”