ratings and sorting works together using session[]