ABG
7
Using the event title as a tag will assign one event per tag, in alphabetical order.
If you build up a JOIN of (yyyy.MM.dd title) your tags will list in chronological order, probably more useful.
The eventlist global variable is unnecessary, since your TinyDB tags and values are your event list.
YAML format is an easy way to list compound data: