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: day of the dragon
Product list:
A: Dungeons & Dragons: Days of Endless Adventure (DUNGEONS & DRAGONS Baldur's Gate)
B: Day of the Dragon: Two full books for the price of one (Dragon Hunter Book 2)
Answer: B,A