diff --git a/apis_ontology/querysets.py b/apis_ontology/querysets.py index e6cce5f..70f1ff8 100644 --- a/apis_ontology/querysets.py +++ b/apis_ontology/querysets.py @@ -5,4 +5,4 @@ DB_COLLATION = 'binary' if 'sqlite' in settings.DATABASES['default']['ENGINE'] else 'en-x-icu' -PersonListViewQueryset = Person.objects.all().order_by(Collate("name", DB_COLLATION)) +PersonListViewQueryset = Person.objects.all().order_by(Collate("name", DB_COLLATION), Collate("first_name", DB_COLLATION))