added sorting recipes and recipe details