sorting columns now deals with highlights correctly, fixes #6645, again