I'm creating a script-fu to do batch processing. I'm using file-glob to create the array of files.
My problem is the array of file locations (i.e. (cadr (file-glob "/pattern/*.jpg" 1)) ) is not sorted out. I get files in the wrong order. That is a problem in my case where I want to process the photos in the order they were captured.
the goal of the script is to transform a timelapse of stars "turning" in the sky into a timelapse of star trails (stars are then forming lines in the sky, and those lines are growing with time)
this is then very important to process the file in the order they were captured.
So ! questions.
is there a way to sort out the array of strings mentioned earlier ?
how file-glob is creating the array of strings ? is there a way to sort out the files prior to running the script ?