Merge pull request #590 from ndawe/master

root2hdf5: loop on sorted trees
Merge pull request #591 from ndawe/master

improve Efficiency