Instruction: Evaluate the relevance of each product title in the input to the given query, and then sort the products in descending order of relevance, placing the most relevant product at the top of the ranked list.

Input:
Query: 4t slim uniform pants girls adjustable waist
Product list:
A: Amazon Essentials Boys' Straight Leg Flat Front Uniform Chino Pant, Khaki, 6 Regular
B: OshKosh B'Gosh girls Skinny Denim Jeans, Heritage Rinse, 4T US
Answer: B,A