Actually not sure if this is a bug, intended or if I'm doing something wrong here:
While using the Forge config system to create a toml-file, the output has a different order than in the source code. This results in a messed up config if you chose to put similar options together, because they can appear in a different order.
Example input and output: https://i.imgur.com/obD85Nx.png
Edit:
Tested with Forge-25.0.110
Sorry for commenting, but this accidentally got the 1.12 label even though it's only relevant for 1.13...
PR made upstream.
Fixed in NightConfig v3.5.3
Most helpful comment
Fixed in NightConfig v3.5.3