title: Linq OrderBy against specific values
body: <p>Is there a way in Linq to do an OrderBy against a set of values (strings in this case) without knowing the order of the values?</p>
  
  <p>Consider this data:</p>
  
  <pre><code>A
  B
  A
  C
  B
  C
  D
  E
  </code></pre>
  
  <p>And these variables:</p>
  
  <p>string firstPref, secondPref, thirdPref;</p>
  
  <p>When the values are set like so:</p>
  
  <pre><code>firstPref = 'A';
  secondPref = 'B';
  thirdPref = 'C';
  </code></pre>
  
  <p>Is it possible to order the data like so:</p>
  
  <pre><code>A
  A
  B
  B
  C
  C
  D
  E
  </code></pre>