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 6th friend dvd
Product list:
A: Friends: The Complete Sixth Season (25th Ann/Rpkg/DVD)
B: Friends: The Middle (Seasons 4-7) [DVD] [1997]
Answer: B,A