Template:Sortname/doc

sortname is a shortcut that equates the following markup: variable1 variable2 It's useful for sortable tables and based on.

Usage
sortname is useful for sortable tables, so that authors can be sorted alphabetically by last name rather than first. Hence,
 * results in Steven Moffat.

If the author's page title includes a dab term, as in Dave Stone (writer), you can add it manually using dab. For instance,
 * renders Andrew Smith.

Alternately, you can override the link entirely:
 * yields Terence Joseph Nation.

Or you can their name to be sorted properly but without linking to their article:
 * results in Steven Moffat.