I read here how to get links of multiple files in Google drive: Get share link of multiple files in Google Drive to put in spreadsheetThis works but the links which are generated are not following the order of the files which are shared and it is not clear which order they follow.For example imagine I have 10 files in the directory. File1, file2, ... file10Then I would like the link for File1 as the first, link for File2 as the second etc. So that when I copy paste the list of links in a column next to the file names it follows the order.But when I generate the shared links they do not follow this order. The first shared link will for example be for file5, the second for file9, ... This seems to be random or is it based on something specific?I could do this manually by opening them and check to which file the link is related but this is a bit of a drag especially when there are 100+ files in the directory.How does the file share link process work and is there any way to do this? 
What is the the default order of the links returned by Get sharable links on Google Drive?
google spreadsheets;google drive;links;share