Sort categories/pages on the whole name not just the first letter.

Performing a sort only on the first letter doesn't alphabetise the
contents within a given letter section, however sorting on the whole
word will still produce an alphabetised list as a whole.
Refs #9664
Merge remote-tracking branch 'origin/feature/9664_order_docs_categories_alphabetically'