Disable sorting in dump_yaml
MODIFY
plextraktsync/config/ConfigLoader.py
plextraktsync/config/ConfigLoader.py
@@ -65,4 +65,4 @@ def write_yaml(cls, path: str, config):
def dump_yaml(fp, config):
import yaml
- return yaml.dump(config, fp, allow_unicode=True, indent=2)
+ return yaml.dump(config, fp, allow_unicode=True, indent=2, sort_keys=False)

Disable sorting in dump_yaml