As for now, I am reading the files in the folder I specify alphabetically because of the function List Folder. Is there any way that I can read all the text files in the folder I specify using the graylevel value that is stated in the text file regardless of what the files names the text files are being saved as? For example, all the textfiles data has one line that states the graylevel value. It ranges from 0-255. So the computer would know that it has to read the text file with the graylevel value of 0 first follow by the text file with the graylevel value of 15 then follow by the text file with the graylevel value of 30 and so on and so forth.
"Is there any way"
Sure: Read all the files, parse the Graylevel, sort the files by their Graylevel-value, read again all the files...
As for now, I tried using List Folder and Build Path to read all text files and store them in an array, then I tried to retrieve all the graylevels but as always, I can only retrieve the graylevel from the last text file that is passed through to the array. How do I retrieve all the graylevels from all the text files I have so that I can sort the files by the Graylevel-value? As from the sorting the files by the Graylevel-value, is it okay if I use the function Sort 1D array?
Ignore the previous post. How do I sort the files by their Graylevel-value if I had successfully managed to parse the Graylevel from all the files that I have?
you should try the well-known and often shown "Sort cluster array" trick
1) the picture is a snippet, you can directly put it in your block diagram...
2) there's no property node or invoke node
3) that's a simple unbundle cluster by name...