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.