[COOK-4720] Sort config hash

We should render the same output every run. As it is now, the config file is changing order every run.