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: box of blue magic
Product list:
A: Apple Magic Mouse 2 (Wireless, Rechargable) - Silver
B: E3Live Blue Majik On-The-Go-Singles, 30 Count, 1 Gram
Answer: B,A