Instruction: Evaluate each product title in the given list, assess its relevance to the given query, and then arrange the products in descending order of relevance, with the most relevant product at the top of the ranked list.

Input:
Query: ripped high waistef black jeans
Product list:
A: Levi's Women's Wedgie Skinny Jeans, Ravens Wing, 27 (US 4)
B: Vibrant Women's Juniors High Rise Jeans w Heavy Distressing (5, Black, Size 5.0
Answer: B,A