$(document).ready(function () {
// Target the parent container
var container = $('.static-to-nav');
// Move Search button after Call
container.find('.stat-text-link').last().insertAfter(container.find('.btn-nav1'));
// Move Service button after Search
container.find('.btn-nav3').first().insertAfter(container.find('.stat-text-link').last());
// Move Directions button to the end
container.find('#mobileDirectionsButtonEvent').appendTo(container);
});