New rational tree ordering [WIP] [ci skip]