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: kids twin bed mattress
Product list:
A: Linenspa 6 Inch Spring Mattress, Twin, White
B: Delta Home 6-inch Memory Foam Mattress
Answer: A,B