Ordering activities by time.