How it combines and sorts
Each line is read for an amount, a unit and an ingredient. Lines for the same ingredient are added together when the units can be combined (cups with tablespoons, grams with kilograms); otherwise they’re listed side by side. Ingredients are matched to a supermarket aisle using a table of common foods from USDA FoodData Central.