添加顺序匹配逻辑