At some places during compilation the circuit graph is being resorted to accommodate ordering constraints introduced by some rewriting rules. The sorting is not stable, which can cause operators from later views to be processed before operators from later views. As a consequence, a view added to a program can change hash functions for earlier views.