Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: farmhouse bathroom cabinet
Product list:
A: Kate and Laurel Cates Wood Wall Storage Cabinet with Vanity Mirror and Sliding Barn Door, Rustic Gray
B: Ameriwood Home SystemBuild Farmington 18" Wide Storage, Rustic Cabinet
Answer: A,B