bug fix on issue #5 sorting header were not taking the parent path.