Code to sort only one column in a table