I have a fixed size container containing ordered elements. In the constructor, I pass to it its maximum size and comparison function. When adding an element, the container uses the comparison function and adds a new element to other elements so as to keep the order from best to worst and, if the limit is reached, throws out the worst element.
Does such a container have a canonical name (English and Russian terms)?