keep the search order

it's just a small change, use list instead of set, to keep the tag's order.