I have ObservableCollection AllRem
public sealed class GetRem
{
public static string RemIDForNot;
public string ReminderColor = "1";
public int RemID { get; set; }
public string ReminderName { get; set; }
public string ReminderDescription { get; set; }
public DateTime ReminderDataTime { get; set; }
public Boolean? ReminderDone = false;
...
}
I need to sort my collection by ReminderDateTime. I tried using :IComparable but it did not work.