Fatal internal error while reading from a CSV file

I am trying to read from a csv file using DepositionReader module. While it is working fine most of the tumes, I see for some events, the allpix running is aborted with this error message:

|12:49:57.128| (FATAL) [R:DepositionReader] Fatal internal error
Cannot continue.

I am not sure why this is happening to events that do not look weird at first glance. The full log is here:

and all the necessary files to reproduce the problem can be found in this repository:

Thank you,

I think the issue is that the track_id has to be in ascending order inside one event. Once I did that, this problem is fixed. But I am working with such a Geant4 output where the track_id may not always be in ascending order. Is there any way to bypass this issue?
Thank you,