How is it Possible to order <DIV>s by date? – Jquery
i ran into a problem when using an ordering function. var $wrapper = $('#list'); $wrapper.find('.blogboxes').sort(function (a, b) { return +b.dataset.date - +a.dataset.date; }) .appendTo( $wrapper ); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div id="list"> <div class="blogboxes" data-date="2023. 01. 28."></div> <div class="blogboxes" data-date="2023. 01. 29."></div>…