title: How to sort dictionary by DateTime attribute of the value
body: <p>Here is my try</p>
  
  <pre><code>public MyClass
  {
     public Guid ID {set; get;}
     public DateTime CreatedDateTime {set; get;}
  }
  
  
  ConcurrentDictionary&lt;Guid, MyClass&gt; dic = new ConcurrentDictionary&lt;Guid,MyClass&gt;();
  </code></pre>
  
  <p>I try this but I got some trouble...</p>
  
  <pre><code>dic.OrderBy(i=&gt;i.Value.CreatedDateTime);
  </code></pre>
  
  <p>I got an error like </p>
  
  <pre><code>Cannot implicitly convert type 'System.Linq.IOrderedEnumerable'
  </code></pre>
  
  <p>Any clue? Thanks!!</p>