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: a curse so dark and lonely
Product list:
A: A Curse So Dark and Lonely (The Cursebreaker Series Book 1)
B: A Court of Silver Flames (A Court of Thorns and Roses Book 4)
C: Defy the Night
Answer: A,C,B