I have seen that logs are not in the correct order, when the timestamp is equal. I checked in the database and can see that the timestamp is not precise enough.
It seems that logs send to Orchestrator can be received in the wrong order and making the incremental ID misleading.
The TimeStamp you see in the database is the one sent by the Robot.
You should not rely on Incremental Id for the logs, since there is a chance that the Robot - Orchestrator connection can drop, in which case the robot will send multiple logs saved locally to Orchestrator upon reconnect.