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: whirlpool spray arm
Product list:
A: Beaquicy 9742945 Dishwasher Lower Spray Arm Nut - Replacement for Whirlpool Ken-more Dishwasher - (Approx.2"Lx1.5"D)
B: 154754502 5304506516 Dishwasher Upper Spray Arm, Replaces # AP4514338 154607802 154698902 154478202, Replacement Part Fit for Frigidaire, Whirlpool, Sears, Kenmore
Answer: B,A