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: bar height bench
Product list:
A: Signature Design by Ashley Kavara Industrial Farmhouse 24" Distressed Double Barstool, Dark Brown
B: Signature Design by Ashley Morriville Counter Height Upholstered Dining Room Bench, Brown
Answer: B,A