I have events and timestamp of the events. I want to keep objects sorted on timestamp. And i want to remove old objects every minutes. Since objects already sorted on timestamp i think RemoveLesserThenKey like function will work best.
I checked sortedlist but it seems it doesnt have such function. Can you give me any advice?
Do i have to write my own sorted list?
EDIT:
1-Events do not come according to time.
2-I want a collection to use sorting structure(Like BST) to remove objects.