Implemented sorting by ratings but doesnt also sort by name