Instruction: Given a query and a list of products denoted as A, B, C, ... with their titles, rank the products according to their relevance to the query. Output only a ranked list in which the most relevant product is at the top of the list.

Input:
Query: knot sealer for lace wigs
Product list:
A: Kiss All Mighty Bond Dual Tip Applicator & Remover Set
B: RemySoft blueMax Daily Refresher - Safe for Hair Extensions, Weaves and Wigs - Salon Formula Leave-in Conditioner - SCENTED
C: Lace Wig Glue Hair Replacement Adhesive Wig Glue for Front Lace Wig 1.3OZ Hair Glue Invisible Bonding Waterproof Lace Front Glue for Closure Frontal,Toupee Systems
Answer: C,A,B