sort leaf when a new value is inserted