Template:TitleSort/doc

 automatically sorts title pages properly, stripping them of the articles, a, an and the. To use, simply place TitleSort at the bottom of the page. It needs to be at the very bottom of the page so that it's not flummoxed by any intervening instances of DEFAULTSORT. This template does nothing on page titles that don't start with an article, so it's just as well to put this on every page.

Forum discussion
For more information, please consult automatically alphabetising articles with titles beginning with articles.

Other templates like this one
This template autosorts story titles. You may want a template which autosorts names of people, so that they list in categories according to their surnames. This can be found at NameSort.