Revert "reprioritize by task and not by comparison"

This reverts commit 96b8fddb217e352b5d595ccff5b3dd29691547b6.