fix for random order of returned timelines