[HIPIFY][fix][#1246][#1655] Sort input files based on their dependency graph [ROCm/clr commit: 97537d0818]
97537d0818