Hi,
We are using ArcPy.NAX for route-solving solutions and to get the turn-by-turn directions. Recently we have observed that it's solving routes as expected and also returning turn-by-turn directions, but the sequence of turn-by-turn directions is not correct. Attaching a couple of screenshots for reference. This is a random behavior. Sometimes it returns correctly and sometimes it gives incorrect results.
Link of ArcPy.Nax - Route—ArcGIS Pro | Documentation
Screenshot of directions:

We also tried to sort the directions feature class based on the object id but still it's giving the same result. Snapshot of python code.

@RodneyConger - We have raised a ticket with ESRI support but tagging you. It would be great if you can guide us or provide some pointers.