title: group by name order
body: <p>There are two types "files" and "folders" I want to group by files and folders but folders must be on top. how can I do this in LINQ?</p>
  
  <pre><code>public class DocumentItem
  {
      public string Type { get; set; }
      public string Name { get; set; }
  }
  
  List&lt;DocumentItem&gt; result = SPHelper.GetList().OrderBy(x =&gt; x.Type).ToList();
  </code></pre>