When DoFn annotated with `@RequiresTimeSortedInput` doesn't have a `StateSpec`, the ordering might break. Imported from Jira [BEAM-10072](https://issues.apache.org/jira/browse/BEAM-10072). Original Jira may contain additional context. Reported by: janl.