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: farmhousw
Product list:
A: Comfify Rustic Wall Mounted Square Shaped Floating Shelves  Set of 7  3 Square Shelves and 4 L-Shaped Rustic Shelves  Screws and Anchors Included  Rustic Wall Decor - Rustic White
B: Vintage Industrial Farmhouse Chic Flowers and Plants Can with Handle (Does Not Come with Flowers)
Answer: B,A