[HIPIFY][fix][#1246][#1655] Sort input files based on their dependency graph [ROCm/hip commit: c14026b056]
c14026b056