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: spanx yoga pants for women
Product list:
A: Spanx ASSETS Red Hot Label Shaping Leggings Black Size Small
B: SPANX Ath-Leisure Active Full Leg Pants Black
Answer: A,B