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: sam cooke the man and his music
Product list:
A: Greatest Hits
B: Teddy Pendergrass If You Don't Know Me
Answer: B,A