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: baby shark costume dog
Product list:
A: Pinkfong Baby Shark Official Song Doll - Mommy Shark - By WowWee
B: Mogoko Funny Dog Cat Shark Costumes, Pet Halloween Christmas Cosplay Dress, Adorable Blue Shark Pet Costume,Animal Fleece Hoodie Warm Outfits Clothes (XL Size)
Answer: B,A