Task: Query_Product_Rank
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 pjs for moms and dogs
Product list:
A: CafePress Dog Mom Women's Dark Pajamas Womens Novelty Cotton Pajama Set, Comfortable PJ Sleepwear
B: Lazy One Pajama Pants for Men, Men's Separate Bottoms, Lounge Pants, Animal, Christmas, Reindeer (Lights Out!, Medium)
Answer: A,B