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: face masks medical
Product list:
A: Gildan Adult Reusable 3-Layer Tie-On Cotton Face Mask (48 Pack), White (48 Pack), Adult: 6.5" x 7" (13" straps)
B: Bigox Face Mask Disposable Earloop Blue 50Pcs
Answer: B,A