File configurations are now sorted before saving to make it easier to read for humans.