Hello @L Giordani ,
I would not treat the order in wfpstate.xml as a supported priority rule.
The documented ordering stops at “highest weight to lowest weight” and I do not see a documented secondary rule for filters that have the same effective weight in the same sublayer in the Filter Arbitration documentation.
In your case, the two example filters appear to match different traffic, since one is for UDP local port 7680 and the other is for UDP local port 5355. So they would not normally compete for the same packet.
That said, if you have two filters that can match the same traffic and their effective weight is the same within the same sublayer, I would avoid relying on whichever one appears first in the XML output, the filter ID, or creation order.
I would suggest making the priority explicit instead: assign distinct filter weights when both filters must stay in the same sublayer, or place the filters in different sublayers when you need stronger control over evaluation priority.
I hope this clarifies. If you found this informative, please consider leaving feedback through this guide.
Thank you.