title: Sort List<string> based on character count
body: <p>Example: <br></p>
  
  <pre><code>List&lt;string&gt; folders = new List&lt;string&gt;();
  folders.Add("folder1/folder2/folder3/");
  folders.Add("folder1/");
  folders.Add("folder1/folder2/");
  </code></pre>
  
  <p>I want to sort this list based on character i.e '/'
  so my output will be <br>
  folder1/ <br>
  folder1/folder2/ <br>
  folder1/folder2/folder3 <br></p>