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: buffalo check shower curtain extra long
Product list:
A: Cloud Dream Home Grey Buffalo Check Plaid Shower Curtain,Waterproof Polyester Fabric Bath Curtain Design,72x72-Inch
B: SKL Home by Saturday Knight Ltd. Farmhouse Dogs Shower Curtain, White
Answer: A,B