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: ipad mouse
Product list:
A: Wireless Keyboard and Mouse for iPad (iPadOS 13 and Above), SPARIN Bluetooth Keyboard and Mouse Compatible with iPad Pro 12.9 / 11 / iPad 10.2 (9th 8th Gen) / iPad Air 4 / iPad Mini, Silver White
B: Bluetooth Mouse for IPad and Phone MacBook Window Laptop Bluetooth Wireless Mouse for MacBook pro MacBook Mac MacBook Air (Gray)
Answer: B,A