Will the first ValueTree::Listener added to the valueTree listener list always be the first one being notified about any changes? For example, if I have code like:
The API gives no guarantee for that.
Currently the listeners are implemented as ListenerList (with a juce::Array underlying), so the answer is yes, but you shouldn’t rely on that. There might happen things now or in future that can change that (e.g. adding a listener checks if already present, so if the listener was already added before it won’t move that to the last)