Added sorting for columns