     mod_list = Enum.map(mod_list, &String.downcase(to_string(&1)))
 
     mod_list != Enum.sort(mod_list)
+  end
+
+  defp issue_opts(line_no, mod_list) do
+    {base, _} = mod_list
+
+    %{
+      line_no: line_no,
+      trigger: base,
+      module: base
+    }
   end
 
   defp extract_alias_groups({:defmodule, _, _} = ast) do


  defp process_group([{_, mod_list_first, a}, {line_no, mod_list_second, b}], _)
       when a > b do
    {base, _} = mod_list_second

    issue_opts = [
      line_no: line_no,
      trigger: base,
      module: base
    ]

    {:halt, issue_opts}
  end

    {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.",
