add order tree algorithm