There are a few similar questions, but unfortunately none I've found that offer the answer I require. Help is appreciated.
First Question
I have a dictionary lets say like the below (simplified for example):
IDictionary<string, string> Beatles = new Dictionary<string, string>();
Beatles.Add("Singer", "John");
Beatles.Add("Drummer", "Ringo");
Beatles.Add("Guitar", "Paul");
Beatles.Add("Bass", "George");
Is it possible to reorder the dictionary based on something like a string array or a list below (EDIT - and output a List with just the reordered Values, as someone clarified Dictionaries don't have order):
string[] reorderList = {"Guitar","Bass","Singer","Drummer"};
EDIT - I want the output to be a List containing this order: "Paul", "George", "John", "Ringo"
Secondary Question
Let's say I don't include one of the Dictionary items in my ordering string, like this:
string[] locations = {"Guitar","Singer","Drummer"};
I want all missing items (in this case just "Drums") to be automatically added to the end. Is that possible?