prioritize function

Pick rows where score is 1 and level per loan is of highest priority