title: C# sort object list with start position and loop
body: <p>I have a strange question :)</p>
  <p>I have a object list looking like this:</p>
  <pre><code>var list = new []
  {
      new { Id = 1, Name = &quot;Marcus&quot; },
      new { Id = 2, Name = &quot;Mattias&quot; },
      new { Id = 3, Name = &quot;Patric&quot; },
      new { Id = 4, Name = &quot;Theodor&quot; },
  };
  </code></pre>
  <p>I would like to sort the list providing a &quot;start id&quot;</p>
  <p>For example, if I provide &quot;start id&quot; 3, the result should look like this:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">Id</th>
  <th style="text-align: center;">Name</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">3</td>
  <td style="text-align: center;">Patric</td>
  </tr>
  <tr>
  <td style="text-align: left;">4</td>
  <td style="text-align: center;">Theodor</td>
  </tr>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">Marcus</td>
  </tr>
  <tr>
  <td style="text-align: left;">2</td>
  <td style="text-align: center;">Mattias</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I have no idea where to start, so I really need some help from you coding gods</p>
  <p>The list is from a sql table, but it does not matter for me where the sort take place (in sql query or in c# code)</p>