fix: stabilize engine cache keys for unordered settings (#4451)