List sorting in config file isn't deterministic
When generating .pre-commit-config.yaml from hooks that specify more than one value in types/types_or, the order isn't guaranteed. This causes non-cached runs to modify the config file and fail //hooks:test (for example, in CI).
This seems to be caused by the use of confrozenset.
Edited by Alex Tercete