Instruction: Analyze the query and each product title. Sort the products in descending order based on their relevance to the query. The most relevant product should be at the top of the list, and output the ranked list.

Input:
Query: kingjoze high waisted yoga shorts
Product list:
A: BALEAF Women's 8" High Waist Biker Workout Yoga Running Compression Exercise Shorts Side Pockets Black Size M
B: KINGJOZE High Waisted Yoga Pants for Women Stretchy Tummy Control Butt Lifting Booty Textured Leggings Running Workout Tights (2#Black/Gray/2#Black, Small)
Answer: B,A