When adding aliases for an entity, it's necessary to write a sort name as well as a name - for example, the name "Enid Blyton" would become "Blyton, Enid", "Dr. Seuss" would have the sort name "Suess, Dr.", and "The Hobbit" would have a sort name "Hobbit, The". This helps people find the entities in a list.
This task requires adding a button to the alias entry page to automatically set the sort name from the entered name. It won't work in all circumstances, but should handle common cases, like articles ("The", "A"), surname/middle name/first name, and titles. The articles and titles should also be configurable in the code, so that we can extend support to other languages later on.