using System.Collections.Generic;
public static void Main()
var scriptDictionary = new SortedDictionary<string, string>
{@"C:/Dog.txt", @"Dog.txt"},
{@"C:/Wolf.txt", @"Wolf.txt"},
{@"C:/Cat.txt", @"Cat.txt"},
var list = scriptDictionary.OrderBy(p => p.Value).Select(p => p.Key).ToList();
var scriptsList = new List<string>();
foreach (KeyValuePair<string,string> item in scriptDictionary.OrderBy(key=>key.Value))
scriptsList.Add (item.Key);