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: girls bookshelf
Product list:
A: KidKraft Dollhouse Cottage Bookcase Wooden Children's Furniture with Shelves and Hidden Storage, Gift for Ages 3+
B: Fantasy Fields - Magic Garden Toddler Bookshelf , Kid Bookshelf Wood, Storage, 3-Shelf Bookcase for Bedroom, Book Display Case for Girl/Boy, 3 Tier Mobile Bookrack, Low Square Book Cabinet - Pink
Answer: B,A