add order by time class