I am assuming that there is some clever ordering of reactives evaluation, I just cannot find where it is implemented in Shiny's sources, nor can I find any documentation about it.
For instance, when a reactive A is depended on by a reactive B through multiple paths, e.g.
A -> x -> y -> z -> B
A -> B
B is evaluated last independently of the order in which the reactives are declared.
Is Shiny using some sort of cycle-aware single-source topological sorting?