I was using this procedure to display publications on my webpage. After implementing it all, I discovered that when I populated the .bib file, the resulting display was sorting everything in random year order. Also, some entries would have the same year but would still have their own categories, meaning instead of seeing all publications from 2011 listed under 2011, one would see some entries under 2011 and then others under another 2011 at a random place. Since I cannot fix that code after trying for some time, I am now looking for anything that would reverse sort entries from my .bib files by year, so I could display publications on my webpage.
I have seen other solutions that talk about reverse sorting citations in a LaTeX document but in this case, I am not citing anything so I do not want to create a .tex document and then \cite all my publications, just so I can see them.
How do I reverse sort my publications in a .bib file to be displayed on my webpage?
bibtoolor Biber to sort a.bibfile, see https://tex.stackexchange.com/q/426341/35864. Forbibtoolyou'd usebibtool -S --sort.format='{%4d($year)}' -i bibsort.bib -o bibsorted.bib– moewe Apr 25 '18 at 04:14<sort order="_">blocks with one block of the form<sort order="1" sort_direction="descending"><sortitem order="1">year</sortitem></sort>. – moewe Apr 25 '18 at 04:21