diff --git a/doc/api/errors.md b/doc/api/errors.md
index 34412648b327b6..4e76673723a5c1 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1984,11 +1984,6 @@ than the parent module. Linked modules must share the same context.
The linker function returned a module for which linking has failed.
-
-### ERR_VM_MODULE_NOT_LINKED
-
-The module must be successfully linked before instantiation.
-
### ERR_VM_MODULE_NOT_MODULE
@@ -2275,6 +2270,11 @@ removed: v10.0.0
Used when a given value is out of the accepted range.
+
+### ERR_VM_MODULE_NOT_LINKED
+
+The module must be successfully linked before instantiation.
+
### ERR_ZLIB_BINDING_CLOSED