Note from 1 February 2024
Tag pages on my photographie site can now be
sorted by dates and popularity, just like galleries.
For example, here are the "night" photos sorted by popularity:
https://nicolas-hoizey.photo/tags/night/by-popularity/
This is all static HTML generated with #Eleventy, no need for any JavaScript here.