Table Sorter

A table sorter is a function that is added to table headers to allow table data to be presented according to a chosen table header.