ordered set erase time complexity