Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: the american spirit david mccullough
Product list:
A: The Quest for Cosmic Justice
B: The American Spirit (Chinese Edition)
C: Summary of David McCullough's The American Spirit: Key Takeaways & Analysis
D: The Wright Brothers
Answer: B,D,C,A