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: matching christmas pajamas
Product list:
A: Burt's Bees Baby Toddler Kids Family Jammies, Holiday Matching Pajamas, 100% Organic Cotton PJs, Red Rugby Stripes, 3T
B: Winging Day Little Boys Girls Holiday Christmas Matching Family Long Sleeves Pajamas Set Size 16
Answer: B,A