diff --git a/pd/nw/dialog_search.html b/pd/nw/dialog_search.html
index 0d49f09f64dcbe6d39f153169dcdd016f25e2b3e..0a2b87bb8eacb0de1c8efd92d565103b5c981a28 100644
--- a/pd/nw/dialog_search.html
+++ b/pd/nw/dialog_search.html
@@ -865,6 +865,13 @@ function doc_search() {
             description: {boost: 1}
         }
     });
+    // Increase priority of pd-l2ork docs over externals docs
+    for (i = 0; i < results.length; i++) {
+        if (results[i].ref.match(/.*\/pd-l2ork\/doc\/.*/) != null) {
+            results[i].score *= 5;
+        }
+    }
+    results.sort(function(a, b) { return b.score - a.score; });
     for (i = 0; i < results.length; i++) {
         doc = index.documentStore.getDoc(results[i].ref);
         display_doc(doc);