Yanfly Subclasses: Actor Battle Command Order

I'm having an issue with Yanfly's Subclass plugin where the order of main/subclass commands in the battle menu seems to be determined by the class ID rather than by which class is the main or subclass. So for example, say I have these classes in my database:

001: Knight
002: Wizard
003: Priest
004: Thief

A character who is a Knight/Thief will have their battle commands displayed like so:

- Attack
- Knight Skill (001)
- Thief Skill (004)
- Guard

This makes decent sense. But a character who is a Priest/Wizard will have their commands displayed in the opposite order, because the Wizard's database ID comes before the Priest's. So:

- Attack
- Wizard Skill (002)
- Priest Skill (003)
- Guard

The inconsistency is confusing, and I want the character's main class skills to always be listed above their subclass skills, regardless of the class ID.

I know there are separate plugins to set actor battle commands (I'm already using Hime's for other purposes), but since any of my characters can change either their main or subclass command, I'm worried it would be a headache to set up. And this is such basic functionality, I feel like there should be a way to determine this within Yanfly's class/subclass system without using outside scripts, but I'm not immediately seeing what I need.

Can someone tell me what I'm missing here? Thanks!
you could just make it skill and magic, but that runs the risk of making class changing only for the skills, there really is no fix for this unless you use the equip skill plug in of yanflys
no - the problem here is that it is NOT a basic functionality and there is no way short of a script modification to resort this.

Think about it - not everyone assigns the skill to classes. In fact a lot of people don't. So as a result there are a lot of possibilities, including one class giving more than one skill type and so on.
But the skill type list has to be listed on some basics, and if you don't know what then the ID of the skill type is the most obvious case.

To have it sorted like you want, you'll have to rewrite the entire sort structure in a custom form, checking first the main class (and having the option to have different skill types based given by main class) and then by secondary class - and what happens if the secondary class has the same skill types?

you'll have to request a plugin that modifies yanfly's (or Hime's) plugin to change the order specifically for your game.
Thank you both for explaining! I've had my classes set up for so long I forgot there's not really anything in the system which directly associates each class with specific abilities. And all of the RPGs I've played which use subclasses have had their skills directly built into the classes, so I guess I internalized that as the "default" way it's done without considering other possibilities.

I may just put up with it for now and focus my energy on other things. I need my classes for stats and passives in addition to skills, so I'm not sure I can really work around it. And it sounds like a time-consuming fix, but I'm not currently in a position to commission any work, so I don't think I have an easy way forward at this point.

Thanks again for helping me to understand a little better!

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-subclasses-actor-battle-command-order.97624/