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: classroom library furniture
Product list:
A: Humble Crew, Natural Wood/Primary Kids Book Rack Storage Bookshelf, 4 Tiers, Toddler
B: KidKraft Wooden Bookcase with Reading Nook, Storage and Gray Cushion - Natural, Gift for Ages 3-8
Answer: B,A