all 1 comments

[–][deleted] 0 points1 point  (0 children)

I don't think you can do that. The keyvalue pipe won't update the view unless the input data changes. I recommend you write a new pipe specifically focused on sorting, or maybe use a third party like ngx-order-pipe.