I can't seem to wrap my head around this one. I need to sort a Dictionary by the value of an inner Dictionary using LINQ. Any thoughts?
views:
299answers:
1
                +2 
                A: 
                
                
              Do you mean you want all values, sorted by the inner value?
from outerPair in outer
from innerPair in outerPair.Value
orderby innerPair.Value
select new {
    OuterKey = outerPair.Key,
    InnerKey = innerPair.Key,
    Value = innerPair.Value
};
                  Marc Gravell
                   2009-10-05 15:43:35
                
              YES!!!! Thank you!!!!!
                  DDiVita
                   2009-10-05 15:49:06
                psychic debugging in action ;-p
                  Marc Gravell
                   2009-10-05 15:57:29