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: green flannel pillow cases
Product list:
A: Cosy House Collection Pillowcases King Size - Sage Green Luxury Pillow Case Set of 2 - Premium Super Soft Hotel Quality Pillow Protector Cover - Cool & Wrinkle Free
B: Nestl Pillowcases King Size Set of 2  Hunter Green Pillow Cases Brushed Microfiber 2 Pack 20 x 40 Inches  King, Pillow Case Covers with Envelope Closure
Answer: A,B