Can you simplify this to:

    `newElement.find('.sort-icon').before(element)