Fixed Sorting by clicking on column header