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: colored pill bags for medicine small
Product list:
A: Ezy Dose Pill Packs | Pill and Vitamin Organizer Pouches | 100 Count | Disposable
B: mumi Pill Pouch Set | 7 Reusable Pill Pouches, 3x3 inches | Large Exterior Zipper Pouch, 2 x 4.5 x 5.5 inches | Organize Pills and Small Items | Labelled and Color-Coded Pill Containers
Answer: B,A