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: cow rocking horse
Product list:
A: B. Toys  Loopsy Wooden Rocking Sheep  Rodeo Rocker  Plush Ride On Sheep Rocking Horse for Toddlers & Babies 18M+, Multicolor
B: Happy Trails Cow Plush Rocking Animal
Answer: B,A