set1 required default (empty)First dash-separated id list. The output keeps the order of this set, and an id from here is included only if it also appears in set2. Empty entries are dropped; duplicate ids are kept.
set2 required default (empty)Second dash-separated id list. It acts as the filter: only ids that also occur in this set survive. Order and duplicates here do not affect the result.
{intersect:1-2-3:2-3-4}
{intersect:7-7-9--12:7-12}
{intersect:11-12-13-14-15:12-15-99}
[{intersect:1-2:3-4}]
{intersect:5-3-1:1-3-5}
{intersect:apple-pear-plum:plum-apple}