Is there a reliable method of wrapping/calling a moderatly complex one
line ECMAScript from policy (XPath token)?

I don't really want to write and deploy a function just for this.

Or alternatively, anyone got a good way to numerically sort an
InsertionOrderNodeset containing TextNodes numerically?