refs #9 new trees sorting