We must clear the current sort columns before setting the new one, to prevent double arrows in the headers.
Fixes: #4696