fixes a sorting issue while insert after start