Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: princess cake pan
Product list:
A: Tara Toys Disney Princess Necklace Activity Set, 9.7x8.18x2
B: Real Cooking Princess Cakes Deluxe Baking Set - 22 Pc. Kit Includes Cake Mix, Fondant, and Sprinkles
Answer: B,A