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: 3 piece scarf hat gloves
Product list:
A: Neonr Winter Knitted Hat Scarf Gloves Three Sets for Men and Women,3 Pieces (Light Gray)
B: Brown 3 Piece Fleece Hat Scarf & Glove Matching Set
Answer: B,A