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: diaper bag with bears
Product list:
A: Diaper Bag Tote 5 Piece Set with Sun, Moon, and Stars, Wipes Pocket, Dirty Diaper Pouch, Changing Pad (Grey/Aqua)
B: Amazon Brand - Mama Bear Diaper Pail Refills for Diaper Genie Pails, 2160 Count (Pack of 8)
C: Diaper Bag Backpack Woodland Geometric Bear Multifunction Large Capacity Travel Back Pack Baby Nappy Bags Organizer Waterproof and Durable
Answer: C,A,B