diff --git a/src/app/components/floating-column/manage-account/my-account/my-account.component.ts b/src/app/components/floating-column/manage-account/my-account/my-account.component.ts index 58710d92..0819fc95 100644 --- a/src/app/components/floating-column/manage-account/my-account/my-account.component.ts +++ b/src/app/components/floating-column/manage-account/my-account/my-account.component.ts @@ -122,6 +122,17 @@ export class MyAccountComponent implements OnInit, OnDestroy { } } }) + .then(_ => { + this.availableLists.sort((a,b) => { + if (a.name < b.name) { + return -1; + } + if (a.name > b.name) { + return 1; + } + return 0; + }); + }) .catch(err => { this.notificationService.notifyHttpError(err, this.account.info); });