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: the american story david rubenstein
Product list:
A: Captain America (1968-1996) (Collections) (34 Book Series)
B: Janesville: An American Story
Answer: B,A