When converting a Settings object to environment variables, sort them by their key so they are easier to parse