Add orderBy on tree