add sorting data in tree and java7 building