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: head wraps
Product list:
A: Fiumara Apparel Professional Cooking Head Wrap Ideal for Chef Hat Cotton - Black Made in USA
B: McCall Patterns M6521 Headband, Head Wraps and Hats
C: Lithonia Lighting SB 432 120 1/4 GESB 4-Foot Wraparound 4-head Narrow Body, T8 Bulb, 120 Volts, 32 Watts, White
D: Chef Works Unisex Head Wrap Skull Cap, Black, One Size
Answer: D,A,B,C