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 dark mind without a heart
Product list:
A: Becoming Ovary Jones: How to Fight Cancer Without Losing Your Mind
B: A Dark Mind Without A Heart
Answer: B,A