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: baby shark costume dog
Product list:
A: NACOCO Cowboy Rider Dog Costume for Dogs Clothes Knight Style with Doll and Hat for Halloween Day Pet Costume (S)
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