order trace by timestamp or duration