Work around issue where models.js expects to see trip pattern stops in order in their arrays.
Persist stoptimes safely.