diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts index 01ed6aa9..741f9297 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts @@ -151,7 +151,9 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy { const response = res as DeptUserResponse; // 검색 결과 처리. - this.searchUserInfos = searchUserInfos; + this.searchUserInfos = searchUserInfos.sort((a, b) => + a.name < b.name ? -1 : a.name > b.name ? 1 : 0 + ); this.totalCount = response.pageTotalCount; this.pageCurrent = response.pageCurrent;