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: principle by ray dalio
Product list:
A: Principles: Life and Work
B: Ray Dalio 3 Books Collection Set (Principles Life and Work [Hardcover], Principles for Success [Hardcover], Principles for Navigating Big Debt Crises)
Answer: A,B