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: good halloween costumes for boys
Product list:
A: Boys Ninja Warrior Costume - XS
B: Spooktacular Creations Boys Ninja Deluxe Costume for Kids (S 5-7)
C: Wrangler Authentics Toddler Boys' Overall, Aged Indigo, 5T
D: Raxwalker Plague Doctor Bird Mask Long Nose Beak Cosplay Steampunk Halloween Costume Props (Black)
Answer: B,A,D,C