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: small shelf bracket
Product list:
A: 4 Pack - L 6" x H 4" x W1.5", 5mm Thick Black L Shelf Bracket, Iron Shelf Brackets, Metal Shelf Bracket, Industrial Shelf Bracket, Modern Shelf Bracket, Decorative Shelving, Shelf Supports with Screws
B: 2 Antique Style Shelf Brace Wall Bracket Cast Iron Brackets Small 3 1/2" X 3 7/8"
Answer: B,A