I have a dictionary of "Title" objects in my C# code: Dictionary<long, Title> DAllTitles
With Title class define as follow:
class Title
{
public long TitleID { get; set;}
public string TitleText { get; set;}
public string TitleNumber { get; set;}
}
The "TitleNumber" can have these values for example: "1", "1.1", "2.10", "4.6.5.2.5" etc... It can be more numbers in the future.
How could i get a dictionary or list of titles ordered by the "TitleNumber" attribute from the dictionary DAllTitles? I can't think of a simple solution...
Thanks in advance!