Add sort button and functionality
Remove unused classes and save sort order
Add summary of counts by time period