The hierarchy picture doesn't tell me exactly which one is dominant.
When I tested the links I gave above, I could not draw any conclusions. When we open these links, I do not understand which archive file it prefers.
Sometimes it goes to
archive.php while opening
search.php in some cases.
Outside of this hierarchy, is there any indication of what it prefers when it comes to equivalence?