sort by clicking on column heading