I am facing a very unusual problem.
I am simply showing and hiding the div by using the display attribute.
Whats weird is that the user only sees the div if I add an alert in the code else the user does not see it.
I am attaching the code snippet I am using.
Sort function ..