Using the example from: https://docs.telerik.com/devtools/maui/controls/listview/sorting#propertysortdescriptor
I am having issues adding a PropertySortDescriptor to ObservableCollection<SortDescriptorBase> without getting a type error.

I have tried playing around with things and I just can't seem to get it working based on the reference I have. Any ideas? I have tried using listView.SortDescriptors.Add without luck... I have tried binding it to a collection per the docks to no avail, and I've tried to move the types around to see if I can get a better result... nothing seems to work?
I am having issues adding a PropertySortDescriptor to ObservableCollection<SortDescriptorBase> without getting a type error.
I have tried playing around with things and I just can't seem to get it working based on the reference I have. Any ideas? I have tried using listView.SortDescriptors.Add without luck... I have tried binding it to a collection per the docks to no avail, and I've tried to move the types around to see if I can get a better result... nothing seems to work?
_radListViewModel.SortDescriptors.Add(new PropertySortDescriptor() { PropertyName = "PickupNumber", SortOrder = SortOrder.Ascending }); // Conversion Error listView.SortDescriptors.Add(new PropertySortDescriptor() { PropertyName = "SchedArriveEarly", SortOrder = SortOrder.Ascending }); // Conversion Error listView.SortDescriptors.Add(new Telerik.Maui.Controls.Compatibility.DataControls.ListView.SortDescriptorBase() { PropertyName = "PickupNumber", SortOrder = SortOrder.Ascending }); // Error, its a type and cannot be used to create an instance