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: furniture cushion foundation
Product list:
A: Casper Sleep Box Spring Foundation for California King Mattress
B: KidKusion Jumbo Edge Cushion, Black, 72 Inch (Pack of 1)
Answer: A,B