I need to order a Dictionary in VB.net based off of the keys. The keys and values are all strings. The dictionary does not have a .Sort()
. Is there a way to do this without having to write my own sorting algorithm?
SortedDictionary comes to mind, but it sorts only on the key.
Otherwise, this answer might help How do you sort a C# dictionary by value?.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With