Re: ATTINY817 MCC Pin Module Pull Ups Arbitrarily Turned Off
It's certainly not only the order in pin_manager.c
From my observations, I assume the whole code generation follows the order of an internal "file". This order seems to be affected by every change, most likely new/changed elements are appended while the previous versiins might be just marked as invalid (and maybe eliminated when dumping the configuration).
No sorting at all.
PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)