Fix sort issue and IE compatibility issue.

For all headers it would only sort first column.
IE8 and below don't support indexOf on an array in javascript.  Updated to use jquery.
Merge pull request #14 from KennyHGregory/patch-1

Fix sort issue and IE compatibility issue.