Do you have the latest .NET framework installed? It may be that the SortedSet is a recent addition that you don't have yet. You can also do the sort by
Dim lines() As String = System.IO.File.ReadAllLines("d:\temp\test1.csv")
Array.Sort(lines)
This should work on your version of the framework