Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: mens shorts without pockets
Product list:
A: BALEAF Men's 4" Athletic Running Shorts Mesh Quick-Dry with Liner & Zipper Pocket Gray L
B: Under Armour Men's Microthread Match 7-Inch Shorts , Red (601)/White , Large
Answer: B,A