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: yellow pants for toddler
Product list:
A: The Children's Place Baby Boys and Toddler Boys Skinny Chino Pants, Flax, 3T
B: Boys Girls Solid Cotton Pajamas 2 Piece Pjs Kids Sleepwear Long Sleeve Top + Pants Set Loungewear Yellow
Answer: A,B