Added ability to sort by clicking on column headers