Is it possible to create a single alphabetically ordered list containing categories from multiple category groups?
Here is the code I am using:
<ul>
{exp:channel:categories category_group="1|2"}
<li>{category_name}</li>
{/exp:channel:categories}
</ul>
Unfortunately this separates the category groups, and I end up with a list such as this:
- book
- graphic identity
- poster
- website
- architecture
- art
- David Bowie
- ExpressionEngine
- zoos
You'll notice that it is actually two lists ordered alphabetically. I would like to merge these into one list somehow.
I would expect to be able to add something like orderby=
as in the Channel Entries Tag:
<ul>
{exp:channel:categories category_group="1|2" orderby="name"}
<li>{category_name}</li>
{/exp:channel:categories}
</ul>
But this does not work. Has anyone come across this before?
Many thanks in advance.