Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: spearmint baby
Product list:
A: Burt's Bees Baby baby girls Pajamas, Zip Front Non-slip Footed Pjs, 100% Organic Cotton and Toddler Sleepers, Blossom Chevron Bee, 12 Months US
B: Baby Girl Nylon Headbands Newborn Infant Toddler Hairbands and Bows Child Hair Accessories
Answer: B,A