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: swim through rings
Product list:
A: Mattel Games UNO Splash Card Game, Assorted (DHW42)
B: Prime Time Toys Diving Masters Torpedo Swim Hoops Set, 2-Pack
Answer: B,A