Because ordering by tags is not possible via firestore queries do it on the client side. To achieve this first sort the tags in one element, then merge them into one string and compare these ordered-merged strings of all the elements and sort them again. This should result in following actions:
'chronik', '2020' get sorted and merged into '2020chronik'
sorting '2021chronik' and '2020chronik' should result in an order that makes sense
Because ordering by tags is not possible via firestore queries do it on the client side. To achieve this first sort the tags in one element, then merge them into one string and compare these ordered-merged strings of all the elements and sort them again. This should result in following actions: