Homework 2.2: preserved ratings filter on sort