Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: revlon lipstick 845
Product list:
A: Revlon Super Lustrous Creme Lipstick, Sandalwood Beige 240, 0.15 Ounce
B: Revlon Super Lustrous Lipstick Shine ~ Terra Copper 845
Answer: B,A