Fix bug of ordering in PriorityScheduler, which passes online autograder