Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: sweater caps for boys
Product list:
A: Baby Girls Boys Winter Hat Scarf Earflap Hood Scarves Skull Caps Coffee One Size
B: John Deere Boys' Little Baseball Cap, Green, Toddler
Answer: A,B