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: shaping cream tee tree
Product list:
A: Giovanni Moisturizing Invigorating Shave Cream for Men and Women with Tea Tree and Mint, 7 fl oz (207 ml) (Pack of 2)
B: Cremo Barber Grade Cooling Shave Cream, Astonishingly Superior Ultra-Slick Shaving Cream Fights Nicks, Cuts and Razor Burn, 6 Oz (2-Pack)
Answer: A,B