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: sketchers womens pants with pocket
Product list:
A: BARCO Grey's Anatomy Active 4275 Black L
B: Skechers Women's Flared Ponte Athleisure You Walk Pant, Bold Black, L
Answer: B,A