Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: curly hair products under 5 dollars
Product list:
A: Garnier Fructis Sleek and Shine Anti-Frizz Serum, Frizzy, Dry, Unmanageable Hair, 5.1 fl; oz.
B: Cantu Care for Kids Curling Cream, 8 Ounce
Answer: B,A