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: cowboy hat 10x
Product list:
A: RESISTOL Men's Wildfire Hat, Natural, 6 3/4
B: Stetson "Maximo 100X Straw Western Hat SSMXMOM69408 White
Answer: A,B