added column sorting and pagination
Merge pull request #3 from craigmcginley/sort_by_column

added column sorting and pagination