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: birthday candles sparklers
Product list:
A: Pack of 6 Silver Wrapping Sparkling Candles/Bottle Service/Birthday/Wedding/Sweet 16 / Party Candle (Pack of 6, Silver)
B: 24 Count Tall Thin Metallic Gold Slow Burning Birthday Candles in Holders with Matching Elegant Classy Cake Topper for Special Custom Birthday Cake Cupcake Candle Decorations by Dream VZN
Answer: A,B