Add list alphabetic tabbed template

This PR will eventually (I hope) have a fully functional tabbed List Template. But as yet this is incomplete.

I am creating this PR in the meantime to share fixes that form part of this development. See individual commits for these.