Project: moodle
Issue MDL-46921: Allow sorting on additional name fields.
The sorting of tables can only be done on the users first name and surname. There should be a way to sort on the additional name fields (firstnamephonetic, lastnamephonetic, middlename, alternatename).
Story points: 20