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: waterpik toothbrush replacement heads model wp 862w
Product list:
A: Waterpik Sonic Toothbrush Replacement Heads (9 Brush Heads)
B: Waterpik Triple Sonic Replacement Brush Heads, Complete Care Replacement Tooth Brush Heads, STRB-3WB, 3 Count, Black
C: Waterpik Replacement Brush Heads for Sonic-Fusion Flossing Toothbrush SFRB-2EB, 2 Count Black with Waterpik Replacement Brush Heads for Sonic-Fusion Flossing Toothbrush SFRB-2EW, 2 Count White
Answer: B,A,C