Data Table: Fixed the sorting issues in IE8

Fixes #6257