Sort div by span with js

I need help to sort all the "Article" div by a span with class Date with javascript. I need it to sort automatically so if i add another Article but with different date it will sort without the need of a button.

<div class="Articles">
    <div class="Article">
            <a href="#">
                    <img src="image2" style="width: 298px;height: 198px;">
                    <div class="Caption">
                    <span class="Date">25.01.2021</span>
                    <span class="Art_title">text</span></div>
            </a>
    </div>
    <div class="Article">
            <a href="#">
                    <img src="image" style="width: 298px;height: 198px;">
                    <div class="Caption">
                    <span class="Date">5.2.2020</span>
                    <span class="Art_title">text</span></div>
            </a>
    </div>
</div>

21 thoughts on “Sort div by span with js”