scripts/generate.py: use a list when we need sorted

We need stop_times in sorted order, so use a list instead of a dict,
which may not be sorted.