Index: pages/+Layout.telefunc.ts
===================================================================
--- pages/+Layout.telefunc.ts	(revision e7f1bfa7ce76200b61fe01419065e5b4c1bc1f96)
+++ pages/+Layout.telefunc.ts	(revision 98543934547eec4612872caf60e2c3b4464ff5e9)
@@ -10,9 +10,9 @@
 }
 
-export async function onGetAllComponents({ componentType, limit, q }
-                                            : { componentType?: string; limit?: number; q?: string }) {
+export async function onGetAllComponents({ componentType, limit, sort, q }
+                                            : { componentType?: string; limit?: number; sort?: string, q?: string }) {
     const c = ctx();
 
-    const components = await drizzleQueries.getAllComponents(c.db, limit, componentType, q);
+    const components = await drizzleQueries.getAllComponents(c.db, limit, componentType, sort, q);
 
     return components;
