C# – Custom method of sorting strings

In this article you can find how to create custom method of sorting strings in C#. For the beginning let’s create an example list of strings, which are compass directions in random order. var directions = new List<string>() { “South East”, “North West”, “East”, “South West”, “North”, “West”, “North East”, “South” }; 1 2 3 … Continue reading C# – Custom method of sorting strings