Addon load order

How do I ensure that one addon loads before two others that depend on it?

You could call a hook in the addon you want to load first after all the include()s, then hook.Add a function to which contains all the include()s for the other addons.

But then if one of the addons does load after, the hook will not be called unless I misunderstand

Well, I guess you could create a timer that will keep running until both addons are initialized.
You could check for global variables declared in each addon then destroy the timer if both are defined.

Yeah, I suppose so, it seems rather hacky though. I guess I’ll have to make it work as a module and use require; I just wish require didn’t only work within includes\modules\