Sort List<string> based on character count + C# : Exaple: <br>

    List<string> folders = new List<string>();
    folders.Add("folder1/folder2/folder3/");
    folders.Add("folder1/");
    folders.Add("folder1/folder2/");

I want to sort this list based on character i.e '/'
so my output must be <br>
folder1/ <br>
folder1/folder2/ <br>
folder1/folder2/folder3 <br>




