Added in funcationality to apply the filter based on rating checkbox values.
Logic will default all boxes to checked on first load and will also check them
all if none are checked.
Updated code to retain ratings checkbox details after a sort by is requested.