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: bestway sand filter pumps for above ground pools
Product list:
A: Bestway Flowclear 800 gal Pump w/GFCI Plug | 800 Gallon/Hour Flow Rate | Cleans Water for Above Ground Pools Sand Filter, White/Gray
B: ZeoSand Alternative Pool Sand Filter Media - 100 Pounds
Answer: A,B