Fix a bug with sortInit.

It should check if the column is shown in html or not.
Delete useless import
Merge pull request #16 from bobkilla/sortInitFix

Sort init fix