Sorting selected diets

Each diet has ingredients associated with it. When a user selects two diets, it displays the common ingredients for both.