     issue_opts =
       cond do
         inner_group_order_issue(mod_list_first) ->
-          {base, _} = mod_list_first
-
-          [
-            line_no: line_no1,
-            trigger: base,
-            module: base
-          ]
+          issue_opts(line_no2, mod_list_second)
 
         inner_group_order_issue(mod_list_second) ->
-          {base, _} = mod_list_second
-
-          [
-            line_no: line_no2,
-            trigger: base,
-            module: base
-          ]
+          issue_opts(line_no2, mod_list_second)
 
         true ->
           nil

    {ast, modules ++ aliases}
  end

  defp issue_for(issue_meta, line_no: line_no, trigger: trigger, module: module) do
    format_issue(
      issue_meta,
      message: "The alias `#{Name.full(module)}` is not alphabetically ordered among its group.",

    end
  end

  defp process_group([{line_no1, mod_list_first, _}], _) do
    issue_opts =
      cond do
        inner_group_order_issue(mod_list_first) ->
          issue_opts(line_no1, mod_list_first)

        true ->
          nil
      end

    if issue_opts do
      {:halt, issue_opts}
    else
      {:cont, nil}
    end
  end

  defp process_group(_, _), do: {:cont, nil}

  defp inner_group_order_issue({_base, []}), do: nil
