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: wood bed frame
Product list:
A: Zinus Paul Metal and Wood Platform Bed with Wood Slat Support, Full
B: Mellow Naturalista Classic - 12 Inch Solid Wood Platform Bed with Wooden Slats, No Box Spring Needed, Easy Assembly, Queen, Natural Pine
Answer: B,A