So a large portion of the code I write is to output data in table format. When you have hundreds of rows, it becomes hard to decipher all the data. Plus, the end users are use to Excel, which allows them to sort and filter their data.
I originally tried to implement sorting on the server side, but the down side was that would cause the entire page to reload. I had been working with jQuery but wasn’t sure if it was possible. After a minute of searching I came across Tablesorter. Set up is very straight forward.