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: 4mm 3 strand macrame cord
Product list:
A: Macrame Cord,3mm x 328 Feet Cotton Twine String Cord,Colored Cotton Rope Craft String for DIY Knitting Plant Hangers Christmas Wedding Decor (Lake Blue)
B: XKDOUS Macrame Cord 4mm x 220Yards, Natural Cotton Macrame Rope for Wall Hanging, Plant Hangers, Crafts, Knitting, Decorative Projects, Soft Undyed Cotton Cord
Answer: B,A