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: fireplace log tray nsert
Product list:
A: onlyfire 304 Stainless Steel Fireplace and Fire Pit H-Burner, 30-Inch by 6-Inch
B: Minuteman International Ash Pan for 29" Basket Fireplace Grate
C: Panacea 15424 Cast Iron Fire Grate, Black, 24-Inch
Answer: C,B,A