didn't find an answer to this.
I like KeyedCollection, because it keeps the insertion order and has ~O(1) key lookup times.
Now I am looking for a similar type that will sort on the key instead of the insertion order.
SortedDictionary does exactly that, however the implementation is exactly the opposite of what I want. Inserts are O(1), lookups O(log n). However, I would like lookups ~O(1) (e.g. hash table) and the inserts can be O(log n) (binary tree?).
Does this exist? Shouldn't be hard implementation wise...
Thanks