The buttons in the template picker are based on the featuretemplates from the featurelayers. The first buttons are from the first featurelayer and so on.
This works perfectly with only one symbol per featurelayer.
Now I have two featurelayers with a simple symbol and one with a uniquevalue renderer. How is the sequence of templates determined when you use a unique value renderer?
In the screenshots you can see the sequence in ArcMap (TOC DBKThema.jpg) and the REST-interface (86.jpg) and how it ends in the template picker. (85.jpg)
How does this work and how can I have influence on the sequence of the unique value renderer?