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: ashland christmas lighted dog decor
Product list:
A: Department 56 Halloween Accessories for Village Collections Tombstones Figurine Set, Multiple Sizes, Multicolor
B: Eldnacele Flameless Candles Dripping, Flickering Pillar Wax Candles with Remote and 24 Hour Timer, Battery Operated Ivory Candles for Christmas Home Decoration, D2.2" X H4" 5" 6" 7" 8" 9" Set of 6
Answer: A,B