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: knot sealer for lace wigs
Product list:
A: RemySoft blueMax Daily Refresher - Safe for Hair Extensions, Weaves and Wigs - Salon Formula Leave-in Conditioner - SCENTED
B: Kiss All Mighty Bond Dual Tip Applicator & Remover Set
Answer: B,A