How do you make Django admin site to strictly sort by values alphabetically when column headers are clicked? column2 below is a foreignkey.
MyAdmin(admin.ModelAdmin):
list_display = ('column1', 'column2')
Here column2 header when clicked should sort the change list alphabetically but is not?
column2
b
a
c
or
column2
c
a
b
is the output.