Update the ordering scheme for tasks