Orders templates by starting time and summary by duration.