The way to keep the items unsorted , as stated many times before here, is indeed:
<div *ngFor="let item of object | keyvalue: unsorted">
But the function for unsorted should return 1, and nowadays be protected as well:
protected readonly unsorted = () => 1;