Leipold
$(document).ready(function() {
var $wrapper = $('.step-by-step');
$wrapper.find('a').sort(function (a, b) {
return +a.dataset.order - +b.dataset.order;
}).appendTo( $wrapper );
$wrapper.removeClass('loading');
$('#showMore').on('click', function() {
$(this).remove();
$wrapper.find('a:hidden').css('display','flex');
});
$('.pdeal').on('click', function(event) {
event.preventDefault();
var href = $(this).attr('data-href');
console.log(href);
window.location.href = href;
});
});