As the title says multiset inserts a value at the end of the range of all the same values.
(Ex: Inserting 2 in a multiset 1,2,2,3 makes it 1,2,2,/*new*/ 2,3).
How do I get the new value inserted at the start of the range of all the same values?
(Ex: Inserting 2 in multiset 1,2,2,3 should make 1,/*new*/ 2,2,2,3)