This is a template a table of contents for an alphabetical list, and also suppresses the automatic table of contents. Note that in order to work, the headings must be named exactly as they appear on the table.
The code is
{{AlphaTOC}}