Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: apple airpods 3rd generation
Product list:
A: (Renewed) Apple AirPods 2 with Charging Case - White
B: Apple AirPods with Wireless Charging Case
Answer: B,A