Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: power drill cordless black and decker
Product list:
A: BLACK+DECKER Matrix Router Attachment For Cordless Drill (BDCMTR)
B: BLACK+DECKER Corded Drill, 5.5-Amp, 3/8-Inch (DR260C)
Answer: B,A