Pattern sequence

Description

Provides sequencing to resolve ordering for patterns for the same id and attribute.