Successfully sorts by rating or year, with working pagination in either sort type.