Fix issue #653

Fix issue #653 by prepending the sort indicator rather than appending it. In my testing, this fixes the problem with IE7 and makes the sort indicator work consistently in all IE versions from 7 through 10, as well as current versions of Chrome, Firefox, and Safari.