Use pre-commit to sort the dictionaries (#2973)

4 files changed