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: split cal king mattress
Product list:
A: PrimaSleep 12 Inch Multi-Layered I-Gel Infused Memory Foam Mattress, Cal King, White and Brown
B: ZINUS 5 Inch Metal Smart Box Spring / Mattress Foundation / Strong Metal Frame / Easy Assembly, California King
Answer: B,A