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: harry potter adult costumes
Product list:
A: QXFQJT Novelty Glasses Striped Tie with Wizard Wand, Bolt Scar Tattoo, Cosplay Party Costumes Accessories Kid's Gift, 5PCS
B: Rubie's Fantastic Beasts 2 Deluxe Adult Gryffindor Costume Robe, As Shown, Standard
Answer: A,B