How to classify a view by letter? I have tags (taxonomy terms) and created a tags pageview.
I want to sort my tags alphabetically and group them by letter of the alphabet.
How can I do this? Thank you
I want a single page. I don't want to filter the results.
A :
ring
accessory
B :
bracelet
cap
candle
...

UPDATE
I have found a possible solution but I need help. In my view I created a &quot;Global: Custom text&quot; field and I grouped this field in the format of the view.
It sounds really good. Now what TWIG code to put in the &quot;Global: Custom text&quot; field to extract the first letter of {{ name }} (which corresponds to the field &quot;Taxonomy term: Name&quot;).
I tested the following code, but it doesn't work :
{{ '{{ name }}'|first }}
I expect you could arrive at this by having a hyerachrical vocabulary. Use the drag handles indent terms as below.
A
- term 1
- term 2

B
- term 3
- term 4

If you needed to list terms in a view, you could use the 'terms with depth' option.
No idea why someone has downvoted your question. It seems perfectly reasonable.