title: C# sorting a List of Strings by a List of Doubles
body: <p>I need to create a list of strings that represent the top five of the summed values.</p>
  
  <p>I have a database with hundreds of bills pertaining to different services</p>
  
  <p>ex. electric $600 January 2013
  Water $50 January 2013</p>
  
  <p>I need to sum all the same services 
  which I have done here</p>
  
  <pre><code>public List&lt;Double&gt; GetSumOfSingleServices
      {
          get
          {
  
              var sums = (from dc in GetDashboardData                            
                          group dc by dc.serviceType into g
                          select g.Sum(sc =&gt; sc.serviceCost)).ToList();
  
              return sums;
          }
          set
          {
              NotifyPropertyChanged("GetSumOfSingleServices");
          }
  
      }
  </code></pre>
  
  <p>I created a list of string by the following code below</p>
  
  <pre><code>public List&lt;String&gt; GetServiceNames
      {
          get
          {
  
              var names = (from dc in GetDashboardData
                           group dc by dc.serviceType into g                             
                           select g.First().serviceType).ToList();
  
              return names;
          }
          set
          {
              NotifyPropertyChanged("GetServiceNames");
          }
      }
  </code></pre>
  
  <p>Now the data in these two lists are parallel meaning 
  GetSumOfSingleServices[0] is the value for GetServiceNames[0] and so on.</p>
  
  <p>I would like have a list that has the Strings ranked by the highest value from GetSumOfSingleServices first and so on.</p>
  
  <p>So if the highest GetSumOfSingleServices[3] and its parallel string is  GetServiceNames[3], then I would like GetServiceNames[3] to be my first entry in the list.</p>
  
  <p>Not sure how to sort through the list of strings by the double values.</p>
  
  <p>That</p>