As reported by @jogasser, a slightly differently ordered AST can result in a cache miss despite containing identical members. The reason is that all dependencies of a member are hashed into a single string that is then used to decide whether a member needs to be reverified or not. Thus, the ordering of dependencies has an influence on cache lookups despite not mattering at all.
This PR orders the hashes of dependencies before calculating the overall hash.
As reported by @jogasser, a slightly differently ordered AST can result in a cache miss despite containing identical members. The reason is that all dependencies of a member are hashed into a single string that is then used to decide whether a member needs to be reverified or not. Thus, the ordering of dependencies has an influence on cache lookups despite not mattering at all. This PR orders the hashes of dependencies before calculating the overall hash.