Alphabetized Addon List Options

Location of issue: ESC > Options > ‘Addons’ tab at top of menu

Issue: My addons are sorted randomly, some are in a semi-alphabetized order but seemingly randomly placed addons as well.

Example: > https://snipboard.io/gGAtk7.jpg <

Request: How do I sort these correctly? The Interface/Addons folder within the WoW directory is alphabetized via Windows settings. I didn’t notice this with just a few addons, but once I added a few more it seems to just place anywhere it wants within the menu.

Thank you!

The other ones probably have special characters in their names that are changing the alphabetical order.

Don’t think you can do anything about it without modifying the addons.

2 Likes

You can modify their names in the *.toc file to remove the special characters. It’s just a text file. You may have to fully exit the game to get the login screen addon list to update.

I do this with Astral Keys as they use special characters to make the text different color.

1 Like

I suspect those are sorted in order the addons were loaded and/or registered their wish to have a section in Addon Options. There probably isn’t a simple way to reorder them without changing Blizzard’s code, which can be problematic.

1 Like

They’re sorted in literal alphabetic order but that’s based on what’s in the ## Title: line of the *.toc file of the addons (not the technical names of the addons themselves) and includes coding that changes the display color in the Addons screen under the system menu.

That’s accessible to change without altering the addon’s functionality.

ElvUI, for example, has this line in its *.toc file:

## Title: |cff1784d1ElvUI|r

That makes ElvUI show up in colored text in the addon listing in-game.

You can simply remove everything from that line except the name of the addon itself and it will then sort intuitively in that listing.

Same for all other addons.

It’s probably be possible to write a Windows command line script that’d do it for you, but I’m out of practice with that sort of scripting and it could really mess things up if you get it wrong.

1 Like

Did you and the other posters even look at the image the OP posted?

1 Like

I don’t generally follow external links. Had to go by the description the best I could.

1 Like

Well if you’d bothered to look at the image, you’d see they’re not referring to the addon list shown in the addon window. They’re referring to the addon options shown under interface, which I believe is populated in order of which addon calls Register Blizzard Options first.

1 Like

No, its still alphabetical.

1 Like

It’s not about bother. I just don’t follow external links out of safety. Not a huge deal. Looks like you got it covered.

1 Like

Not by the name registered in the .toc, but by the name passed in to InterfaceOptions_AddCategory which could be something completely different, if the addon dev chooses.

1 Like

then it should be the same principal, so all you have to do is find it (that text has got to be plain text) and change it (strip out the formatting codes).

it could also be in the bindings.xml file (lots of authors still use that and not the lua function)

it wont change anything else about the addon.

2 Likes

I’m not entirely sure that would work as InterfaceOptions_AddCategory has been deprecated and the function now uses the new scoll list data provider, and from a quick hunt down that rabbit warren I’m not sure the list has the order information atm for the sort to do anything “sorty”

It’s possibly I missed a branch getting to that conclusion so treat with a grain of salt.

1 Like

If thats the case, a lot of addons are going to break soon, as Ace3 still uses InterfaceOptions_AddCategory.

I’m pretty certain the Ace authors are well aware of any changes comming down the line (it may also be one reason the list kinda sorta looks ok in bits but ulimately doesn’t). It’s the part-time/single person addons that might break for a bit on any change over and of course any addons that are abandoned.