title: C# LINQ return counter array indices max to min
body: <p>A newbie with C# and LINQ.
  I have an array which is essentially a counted sequence. </p>
  
  <blockquote>
    <p>{1,3,5,2,7,2}</p>
  </blockquote>
  
  <p>I am trying to write a query that returns list of indices with highest values in descending order: </p>
  
  <blockquote>
    <p>4,2,1,3,5,0</p>
  </blockquote>
  
  <p>I can get the maximum index with this query below, but I can't seem to work out how to get the next indexes in sequence with a single query.</p>
  
  <pre><code>int index = array.ToList().IndexOf(array.Max());
  </code></pre>