2👍
✅
The queryset will be evaluated to a list, if you eg. call list()
on it:
cities_sorted = list(cities)
Source:stackexchange.com