message: Resort list after validation
  If validation errors (or warnings) affect sort order, update the list
  after validation was done.
  Fixes
diff: @@ -1720,7 +1720,10 @@ void PoeditFrame::OnValidate(wxCommandEvent&)
  try
  {
  wxBusyCursor bcur;
  - ReportValidationErrors(m_catalog->Validate(),
  + auto results = m_catalog->Validate();
  + if (m_list && m_list->sortOrder().errorsFirst)
  + m_list->Sort();
  + ReportValidationErrors(results,
  /*mo_compilation_failed=*/Catalog::CompilationStatus::NotDone,
  /*from_save=*/false, /*other_file_saved=*/false, []{});
  }
  @@ -2612,6 +2615,9 @@ void PoeditFrame::WriteCatalog(const wxString& catalog, TFunctor completionHandl
  if (tmUpdateThread.valid())
  tmUpdateThread.wait();
  + if (m_list && m_list->sortOrder().errorsFirst)
  + m_list->Sort();
  +
  if (validation_results.errors)
  {
  // Note: this may show window-modal window and because we may
  