Multiple lists sorting
<p>I have 2 lists </p>

<pre><code>List&lt;ClassEmpInfo&gt; employeeDetails = GetEmployeeDetails();  //returns list of values

And ClassEmpInfo class has  following attributes.

empID,
empName,
empAddress etc.
</code></pre>

<p>for ex:</p>

<pre><code>200  John  Harmington Road.
500  Mark  Pearl Blvd.
</code></pre>

<p>second list </p>

<pre><code>&gt; List&lt;EmpID&gt; employeeSortOrder = GetEmpSortOrder();
&gt; 
&gt; ie. employeeSortOrder will have
&gt; 
&gt; Id/ranking
&gt; 
 1 500
 2 200 
 3 300
 4 700
</code></pre>

<p>Using the second list employeeSortOrder , is there a way to sort the first list employeeDetails and return the output as based on employeeSortOrder.Id :</p>

<blockquote>
  <p>500  Mark  Pearl Blvd.<br>
     200  John  Harmington Road.</p>
</blockquote>

<p>Thanks.</p>
