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: khaki high waisted shorts
Product list:
A: BALEAF Women's 7 Inches Long Running Shorts Back Zipper Pocketed Lounge Athletic Gym Shorts with Liner Black Size S
B: UNIONBAY Women's Darcy Stretch 5" Inseam Short, Sandy Brown, 3
C: MAGCOMSEN High Waisted Shorts for Women Ruffle Hem Workout Linen Shorts Lounge Shorts Cute Shorts Running Shorts Hiking Shorts Vacation Shorts Grey
Answer: B,C,A