added method for formatting th-elements

now it's possible to create sortable tables. example added
Merge pull request #5 from BenediktSeidl/sortable

sortable tables