Instruction: Rank the products A, B, C, ... based on their relevance to the provided query, and produce a ranked list with the most relevant product positioned at the top of the list.

Input:
Query: mint patties bulk individually wrapped
Product list:
A: Altoids Smalls Wintergreen Sugarfree Mints, 0.37 Ounce (9 Packs)
B: Product of York Peppermint Patties, 175 ct.
Answer: B,A