VUE2 component sort

So the page has

<div id="app">
<sort>
   <line uid="1"> много html идет в  слот </line>
   <line uid="2"> много html идет в  слот </line>
   <line uid="3"> много html идет в  слот </line>
</sort>
</div>

The [line] component, have button up (down). Click button create an event.
The parent (sort) catches the event and swaps the components

This whole thing is generated by the site engine. I don’t want to put data in VUE.

How to swap [line uid=“1”] and [line uid=“2”]?