sorting type of a column

how can i get a sorting type of a column