title: Order list alphabetically but with certain elements always at the top
body: <pre><code>class Employee   
  {
      static void Main(string[] args)
      {
          List&lt;favorite&gt; f = new List&lt;favorite&gt;();
  
          f.Add(new favorite {id = 1, title ="MEN" });
          f.Add(new favorite { id = 2, title = "WOMEN" });
          f.Add(new favorite { id = 3, title = "BOYS" });
          f.Add(new favorite { id = 4, title = "GIRLS" });
          f.Add(new favorite { id = 5, title = "Ajay" });
          f.Add(new favorite { id = 6, title = "vijay" });
          f.Add(new favorite { id = 7, title = "Jitu" });
          f.Add(new favorite { id = 8, title = "Suresh" });
          f.Add(new favorite { id = 9, title = "Ramesh" });
          f.Add(new favorite { id = 10, title = "Akshay" })
  
          foreach (var item in f.OrderBy(e=&gt;e.title).ThenBy(e=&gt;e.title))
          {
              Console.WriteLine(item.title);
          }
          Console.ReadLine();
      }
  
      class favorite
      {
          public int id { get; set; }
          public string title { get; set; }
      }
  }
  </code></pre>
  
  <p>The above list has 4 default favorites (<code>MEN</code>, <code>WOWEN</code>, <code>BOYS</code>, <code>GIRLS</code>), which I want to be always at the top and all other favorites in alphabetical order.</p>
  
  <p>Example: I want output to be like </p>
  
  <pre class="lang-none prettyprint-override"><code>MEN
  WOMEN
  BOYS
  GIRLS
  AJAY
  AKSHAY
  JITU
  LIKE
  and so on ...
  </code></pre>
  
  <p>I want to execute this query using Entity Framework Lambda expressions.<br>
  I tried to do this with <code>OrderBy</code> and <code>ThenBy</code> but have not found a proper solution yet.</p>