<div class="items">
<div class="item" id="item1">
<h4>name</h4>
<img src="">
<p class="price"></p>
</div>
<div class="item" id="item2">
<h4>name</h4>
<img src="">
<p class="price"></p>
</div>
<div class="item" id="item4">
<h4>name</h4>
<img src="">
<p class="price"></p>
</div>
What would be the simpliest way, in this layout, to sort items by "price" using JS only? Say, there is webshop with items and user wants to sort items by price ascending