fix tree exporter entry sort issue