Added sorting by each column of table asc/desc