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: foundation samples
Product list:
A: BaeBlu Organic Aloe-Based LUX Liquid Foundation, Natural Vegan Gluten-Free Made in USA, Latte
B: HOURGLASS Vanish Seamless Finish Liquid Foundation Sample Card: Porcelain, Shell, Nude, Beige, Natural Amber and Golden Almond
Answer: B,A