title: Is there C# support for an index-based sort?
body: <p><B>Is there any built-in C# support for doing an index sort?</B></p>
  
  <p>More Details:<br>
  I have several sets of data stored in individual generic Lists of double.
  These are lists always equal in length, and hold corresponding data items, but these lists come and go dynamically, so I can't just store corresponding data items in a class or struct cleanly.  (I'm also dealing with some legacy issues.)</p>
  
  <p>I need to be able to sort these keyed from any one of the data sets.</p>
  
  <p>My thought of the best way to do this is to add one level of indirection, and use an index based sort.  Such sorts have been in use for years.</p>
  
  <p>Quick definition of index based sort <b>:</b><br>
  make "index", an array of consecutive integers the same length as the lists, then the sort algorithm sorts the list of integers so that <code>anylist[index[N]]</code> gives the Nth item of anylist in sorted order.  The lists themselves are never re-ordered.</p>
  
  <p>Is there any built-in C# support for doing an index sort?
  I have been unable to find it... everything I have found reorders the collection itself.  My guess is support exists but I haven't looked in the right place yet.</p>
  
  <p>I am using C#.NET 3.5, under Windows.</p>