I am new to Angular6 and I wanted to know if there is a simple way to do what I want. I just read documentation and I did not read anything about that, is there a easy way to sort the value in the dropdown ? <mat-form-field> <mat-select placeholder="Code List" required [(ngModel)]="contextScheme.codeListId"> <mat-option *ngFor="let codeList of codeLists" [value]="codeList.codeListId"> {{codeList.codeListName}} </mat-option> </mat-select> </mat-form-field> Basically the value I have are the values in my DB sorted by id, I want the exact thing but sorted in desc. Thank in advance. Sox-. Continue reading...