There's an undocumented specialcode that could be of use for you.
It's
[ORD_MATCH_EXTVARS_DESC] and technically would be
ORDER: Descriptions of matching external variables rules, if any.
Honestly I do not remember why it is undocumented, so you can try using it and let me know if it just works as expected.
In that case I'd dimple make that "official"