Fixed sort order problem for each column.