Twitter

Love this #ted story: "How I became part sea urchin | Catherine Mohr" https://t.co/hkSxukVkIC https://t.co/hkSxukVkIC

2 months ago

Follow

Yesterday I found an interesting sorting problem to work on. The solution involved a SortedDictionary and an ICompa… https://t.co/4x4nfqcFhm

2 months ago

Follow

Hallo @staatsbosbeheer, er ligt hier een koe met een gaatje. Wellicht goed om even polshoogte te nemen. https://t.co/NrmcaXyiuR

3 months ago

Follow

Hi @TheShufflehound, thanks for the beautiful Gillion and Jevelin themes! They are most useful. Are you still developing new themes?

3 months ago

Follow

Categories

Category: .NET

.NET

Sorting a Dictionary on a List of Keys

I can almost hear you thinking: “What super-weird problem are you trying to solve!?” Well… it is kind of an abstract one! Imagine you have a dictionary of objects and a separate list of keys in a certain order. Now suppose you want an ordered dictionary based on the list of keys.