The ordered tree cutter.