adds sorting functionality for recipes.
adds user rating average to recipe show page and sorting by user rating.