I have 2 divs
<div class="row events-list-section employee-hour-detail-section 11-28-2017">
</div>
<div class="row events-list-section employee-hour-detail-section 11-27-2017">
</div>
The divs have common classes employee-hour-detail-section and date as extra class.
I want to sort these divs according to date. How can I achieve that? I want the output to be sorted date wise.
<div class="row events-list-section employee-hour-detail-section 11-27-2017">
</div>
<div class="row events-list-section employee-hour-detail-section 11-28-2017">
</div>
classattributes must be in the exact same order on the different elements.