01 · Before and afterThe pattern
// before: every ready node installs this round; priority only reorders inside the round
let round = ready(worklist);
round.sort(byPriorityDesc);
// after: only the highest-priority ready nodes go this round; others wait
const top = Math.max(...round.map(n => n.priority));
round = round.filter(n => n.priority === top).sort(byId);02 · Run it on your appThe check
For any “force this order” setting in your system, have you tested it with a dependency that pulls something forward?
If the honest answer is no or not sure, this is worth a look before it reaches production.