change order in list and timeline to be time-ascending