Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: shorty funny pajamas sets women
Product list:
A: Cherrydew Womens Pajamas Set Short Sleeve Bamboo Button Down Soft Pj Lounge Sets(Light Purple, Large)
B: WiWi Bamboo Pajamas for Women Soft Pajama Sets Short Sleeves Top with Capri Pants Pjs Plus Size Loungewear S-4X, Violet, 4X
Answer: A,B