I'm fairly new to Angular so maybe I'm just searching for the wrong thing, but I can't seem to find an easy answer to this anywhere.
Let's say I have an array of objects:
[
{Label: "UDP 128B Flood", ...},
{Label: "UDP 512B Flood", ...},
{Label: "UPD 1514B Flood",...},
{Label: "HTTP Excessive GET",...}
]
This is array is being displayed as the options in a dropdown:
<option *ngFor="let profile of Profiles" [value]="profile.Label">{{profile.Label}}</option>
I want to sort these objects to make sure they show up in alphanumeric order.