diff --git a/sim/run.py b/sim/run.py
index c249494edd812d7d320f7927f4c882183f2b7226..e9436f5eba8c487ffe24e6586fc8f09860baa178 100755
--- a/sim/run.py
+++ b/sim/run.py
@@ -54,9 +54,9 @@ class UnderscoreFinder(importlib.abc.MetaPathFinder):
 # sys.meta_path.insert(0, Hook())
 
 sys.path = [
+    os.path.join(projectpath, "sim", "fakes"),
     os.path.join(projectpath, "python_payload"),
     os.path.join(projectpath, "components", "micropython", "frozen"),
-    os.path.join(projectpath, "sim", "fakes"),
 ]
 
 builtin = BuiltinImporter()