fixed the sort order for trajectories inside schedule list