Does the Sort Stack play nice with the HTML stack? The reason I ask is the HTML stack seems to be breaking the formatting of the Sort Stack.
There is literally nothing in the HTML stack itself except whatever code you place within it. Your code you add to the HTML stack can break just about anything on the page.