When one subscribes an event programatically how does Sitecore determine the order of that event x the ones patched through configuration? Is there a way to control that?
For example when one opens the even item:created or item:saved it´s well known that if you register them through config it uses the order of config patched to execute but what if you subscribe an event programatically what does that mean? Which gets executed first and how to control that?
For example:
Sitecore.Events.Event.Subscribe("item:created", myArgs);
How does this event execution order relate to other item:created patched through configuration?
Update: This code is triggered as part of a processor hooked into the initialize pipeline.