Sort entries of each type
RESOURCE_ADDITIONS define
So, like, time to use a template file...