title: How to sort a List<dynamic> containing ExpandoObjects
body: <p>I have a list which contains a dictionary of ExpandoObjects.  Im binding this to a grid but now I want to sort the list.  </p>
  
  <pre><code>        var rows = new List&lt;dynamic&gt;();
          for (int i = 0; i &lt; 1000; i++)
          {
              dynamic expandy = new ExpandoObject();
              var dictionary = (IDictionary&lt;string, object&gt;)expandy;
  
              dictionary.Add("ID", i);
              dictionary.Add("Name", "Name" + i);
              rows.Add(dictionary);
          }
  </code></pre>
  
  <p>So looking at the test code above how would I sort rows (ascending or decending) say on "ID" or "Name" or any other property that I dynamically add?</p>
  
  <p>A bit more info, I'm looking to sort it like this (this doesnt work); </p>
  
  <pre><code>            var newOrder = from r in rows
                       orderby ("Name") ascending 
                       select r;
  </code></pre>