diff --git a/MODULE.bazel b/MODULE.bazel
index 62c1c29d67..d845a0e98d 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -39,10 +39,10 @@ bazel_dep(name = "with_cfg.bzl", version = "0.13.0")
 bazel_dep(name = "zlib", version = "1.3.1.bcr.7")
 bazel_dep(name = "zstd-jni", version = "1.5.6-9")
 
-# Depend on apple_support first and then rules_cc so that the Xcode toolchain
-# from apple_support wins over the generic Unix toolchain from rules_cc.
-bazel_dep(name = "apple_support", version = "1.24.5")
+# Depend on apple_support second after rules_cc so that the Xcode toolchain
+# from apple_support does not win over the generic Unix toolchain from rules_cc.
 bazel_dep(name = "rules_cc", version = "0.2.17")
+bazel_dep(name = "apple_support", version = "1.24.5")
 
 # The starlark rules in @rules_cc are hidden behind macros but docgen needs to
 # load the rule class directly, so we need to expose the cc_compatibility_proxy
