I have an array of list and a file file1.txt , I want to create e new file order according to numbers in file1.txt, for example code output must be like below. How should I make