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: mountains and rivers without end
Product list:
A: This Present Moment: New Poems
B: Mountains and Rivers Without End: Poem
C: Of Mountains and Rivers Without End
D: Congress of Rough Riders
Answer: B,A,C,D