I am using ngFor to display a Map. To do so, I am using the keyvalue. It looks like this:
*ngFor="let upgrade of upgrades | keyvalue"
My Problem now is, that keyvalue sorts my Map. I don't want this and don't know how to stop the sorting.
I tried using sortOrder = (a): number => {return (a)};
as compareFn; it worked, but I don't think that this is the corret way of doing it?