jQuery Haga clic en Ony funciona una vez en el menú desplegable

//try using onclick function on your element instead of using click event on element
onclick="myFunction()"

function icon_sort_cancel(){
    //code here...
}
Handsome Horse