diff --git a/shared/pubUtils/dispatcher.ts b/shared/pubUtils/dispatcher.ts index c636a741a..1a41a070d 100644 --- a/shared/pubUtils/dispatcher.ts +++ b/shared/pubUtils/dispatcher.ts @@ -30,6 +30,7 @@ export function dispatch(uid: string, connectors: ServerInfo[], serverType: stri // connectors = connectors.filter(obj => { return obj.id == 'activity-server-1' }) // } // } + connectors.sort((a, b) => a.id > b.id? 1: -1); if (serverType) { let roleRouteData = roleRoute.get(uid);