The Alpine.js Sort plugin uses x-sort as a directive on a parent element, but also x-sort as a name space on list items, e.g.:
<ul x-sort>
<li x-sort:item>foo</li>
<li x-sort:item>bar</li>
<li x-sort:item>baz</li>
</ul>
Currently it does not seem possible in hypertext to define an Attribute and an AttributeNamespace with the same name in GlobalAttributes.