fixed sorting by deadline & pris in -> inpris