This is probably due to the DirectX11 drawing system.
The line drawing process is not a process within the GPU, so the drawing is flushed at that timing and
I think the drawing data up to that point was processed in the correct order.
At any rate, thanks for the report!