Original version presumed a specific hash ordering on dictionary keys.