HW2-2 ratings
type id=submit_rating
preserver sorting and rating