(#18508) Ensure eval_generated resources apply at the right time

Eval_generated (and generated) resources need to stay at a priority after the
generating resource but before the following resource.