Simple way is to return the View with the sorted list.
You can sort the collection of return view either manually using sort algorithm or automatically using SortedDictionary class System.Collection.Generic namespace.
Herez the converted code by default sorted list on return View:
using System.Collection.Generic;
....
....
{
Sorteddictionary<string,> list - new SortedDictionary<string,string>();
list = ExtractURL(content;
return View(new Website(list, "Addresses"));
}
By default, the first string is treated as Key and sorted automatically on each elements' insert. We'll get the solution, what we are looking for.