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: cotton sun hat for men
Product list:
A: Baseball Cap for Women Cotton/Embroidered Caps Baseball Sport Golf Adjustable Sun Hat Baseball Running Cap Sunhat Blue
B: LENXH Unisex Outdoor Solid Color Visor Simple Cotton Cap Fashion Casual Baseball Cap Outdoor Sports Sun Hat
Answer: B,A