sort the columns