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: power drill cordless black and decker
Product list:
A: BLACK+DECKER 20V MAX Matrix Cordless Drill/Driver (BDCDMT120C), Drill Kit (Orange)
B: BLACK+DECKER Matrix Router Attachment For Cordless Drill (BDCMTR)
Answer: A,B