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: dewalt socket set with case
Product list:
A: DEWALT Mechanics Tool Set, 205 pc (DWMT81534),
B: Amazon Basics Mechanics Socket Set, 145-Piece
Answer: B,A