Tests, deadlines and sorting