add a cookie to store ratings selection and sorting argument