edit:
I really thought that there was sorting code but I checked the history and apparently I missed that…
Regrettably I can’t run joplin right now, and I don’t have time to troubleshoot my setup. But if anyone wants to take this on the change would be really easy.
it’s in ElectronClient/app/gui/MainScreen.jsx and where the tagSuggestions are created you’ll just need to duplicate the sorting code from startTags (a couple lines above).