Can anyone please help in build a logic to sort list of string which contains ranged number items.
Ex: List myList = new List() { "1", "3-6", "2", "8-10","7", "11", "13-18", "12"};
Sorted Output List: 1, 2, 3-6, 7, 8-10, 11, 12, 13-18
Note: List contains only positive numbers.
Thanks, Arjun