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: classic felted wool stiff brim fedora hat
Product list:
A: Lanzom Womens Classic Wide Brim Floppy Panama Hat Belt Buckle Wool Fedora Hat (One Size, Khaki)
B: HUDANHUWEI Men & Women's Wide Brim Fedora Hat with Band Unisex Felt Panama Cap Khaki M (Head Circumference 22"-22.8")
Answer: A,B