I want to write a datapack which has several different features which use bossbars. I need one of the bossbars to always be at the top of the list onscreen, so the one highest on the screen, while others come and go, possibly quickly or possibly slowly (they will show the health of mobs the player is looking at).
I thought that bossbars were ordered alphabetically, but the wiki doesn't say. I don't want to have to name my bossbar "AAAAAAAAAAAAAAAAAAAAAAAAAAA", so I was wondering if there is a way to use an invisible ASCII character or something else to ensure it is always at the top. I know that you can change the colors of bossbars too (to differentiate it anywhere in the list), but having it in the same position always would be great.
I can't test anything because I haven't had and won't have my computer for a while, so I don't necessarily need commands but just a method to solve this.