Precedence Order of Window/ Template/Properties Loading?

What is the precedence order for a window loading. What is the priority for properties, templates, components etc… Is there a specific order in which ignition will load these. Is there a difference in how designer loads vs an actual client. Where can I find this documentation if it exists?
Ignition 7.8.5.