added event trigger to end of sort code to keep tooltips from being removed