diff --git a/include/hxcomm/vx/connection_from_env.h b/include/hxcomm/vx/connection_from_env.h
index edfa3db1b0ac34724f3870c63cb2441fb9aea8cf..6d547e81305cd715e4c78627df2c0de16af55469 100644
--- a/include/hxcomm/vx/connection_from_env.h
+++ b/include/hxcomm/vx/connection_from_env.h
@@ -12,8 +12,8 @@ namespace hxcomm::vx {
  * Automatically determine from environment what connection type to use and
  * return the corresponding variant.
  *
- * Order of precedence is QuiggeldyConnection > Extoll-connected hardware > HostARQ-connected
- * hardware > CoSim right now if several are available.
+ * Order of precedence is ZeroMockConnection > QuiggeldyConnection > Extoll-connected hardware >
+ * HostARQ-connected hardware > CoSim right now if several are available.
  *
  * On the Python-side it is wrapped via ManagedConnection.
  *
diff --git a/src/hxcomm/vx/connection_from_env.cpp b/src/hxcomm/vx/connection_from_env.cpp
index d1ccf45ac081e076a259aa0fbd0b4760b2208625..6b78b5852242a281ba4d37812d9a188a3a4e0928 100644
--- a/src/hxcomm/vx/connection_from_env.cpp
+++ b/src/hxcomm/vx/connection_from_env.cpp
@@ -125,7 +125,9 @@ inline std::vector<ConnectionVariant> get_extollconnection_list_from_env(
 
 std::vector<ConnectionVariant> get_connection_list_from_env(std::optional<size_t> limit)
 {
-	if (auto qgc = detail::get_quiggeldyclient_list_from_env(limit); !qgc.empty()) {
+	if (auto zeromock = detail::get_zeromockconnection_list_from_env(); !zeromock.empty()) {
+		return zeromock;
+	} else if (auto qgc = detail::get_quiggeldyclient_list_from_env(limit); !qgc.empty()) {
 		return qgc;
 	} else if (auto ext = detail::get_extollconnection_list_from_env(limit); !ext.empty()) {
 		return ext;
@@ -133,8 +135,6 @@ std::vector<ConnectionVariant> get_connection_list_from_env(std::optional<size_t
 		return arq;
 	} else if (auto sim = detail::get_simconnection_list_from_env(); !sim.empty()) {
 		return sim;
-	} else if (auto zeromock = detail::get_zeromockconnection_list_from_env(); !zeromock.empty()) {
-		return zeromock;
 	} else {
 		throw std::runtime_error("No executor backend found to connect to.");
 	}