You can make use of SortedList collection in .net 
SortedList openWith = new SortedList();

openWith.Add("SomeKey", "SomeValue");
openWith.Add("SomeKey", "SomeValue");

Represents a collection of key/value pairs that are sorted by key

Check this is correct answer if it helped.