reprioritize by task and not by comparison