Log in debug-mode.
  Only sort messages if the selection changes.