Improvement was made with that PR and will be included in the next beta
release - https://github.com/discourse/discourse/pull/10889
Below is an example from Meta when tags are sorted by popularity:
For a short moment I changed that option:
The same order of tags you can see when you enter the topic: