Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: light purple baseball cap
Product list:
A: Mission Cooling Performance Hat- Mens & Womens Cap, UPF 50 Sun Protection, Hook & Loop Close, Evaporative Cool Technology, Cools Instantly When Wet, Great for Golf, Running, Baseball- Black
B: DALIX Baseball Cap Dad Hat Plain Men Women Cotton Adjustable Blank in Lavender
Answer: B,A