jspuij / Cortex.Net

State management like MobX for .NET and Blazor

Home Page:https://jspuij.github.io/Cortex.Net.Docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorting observableCollection

givemeurhats opened this issue · comments

commented

Hello! I am wondering what is the best approach to sorting a collection without creating a new reference?
ObservableCollection does not implement a sort function and I am unable to cast ObservableCollection to a list or an array (just cast not create a new list).

Any ideas?

Thank you.
Eric

commented

I wrote an extension for IList