I’m currently working on a project that requires me to bring in a lot of backgrounds to work with (of course im deleting them after do about 120 at a time out of about 1,314) but every time i bring so over, they are wildly out of order, some will be 20 spots away from where it should be.
all files are labeled as “output_(NUMBER)” so I was wondering if there’s a way to sort and move them around by just looking at that, like sorting a list.
What I was doing was porting ALL pictures over when I’m only using every fifth one, because more times than not the n5 images when somewhat fine, so when I deleted all the other ones I didn’t need, they were already in almost perfect order. Only issue I had with that though, is that it took at least 3-4 minutes each port, and I’ve lost around 4 hours of work due to constant memory issues with all the other unneeded pictures.
I should add that I am deleting the pictures afterwards as I don’t need them anymore, and i did rough math and the final size should range from 80 to 150 KB.
If I’ve explained anything poorly, id happily try to explain in more detail.
so sorry for anyone who clicks on this (in the few minutes that it may be here before i may delete it) but i have found a way to get what im looking for while messing around and dozens of tries.
all you have to do is set the Switch to costume block to the first costume and it goes through and sorts them all.
Another way to achieve this: (it work for stage or sprite)
Note: CST names should have same number of digits for the number in their name
ex: a10,a02,a01,a04 etc…
because if CST names are: a10,a2,a1,a4 (a10 2 digits, a2 1 digit) the result will be a1, a10,a2,a4 instead of a1,a2,a4,a10
for the names being sorted differently with letters being involved (I think that’s what you meant), would it be possible to do something like this to just look at the number? I know it wouldn’t work on many other things unless its background names are formatted the same way
I haven’t tested this idea because I’m at school and don’t have the files with the pictures. Again, think this is what you meant,with them seemingly sorted alphabetically instead of numerically (?), so sorry if I interpreted this wrong
Yeah, that’s what i mean…
maybe i can add some leading zeros on runtime…
i will test something…
a new version:

for sorting purpose a cst name A1 become A0000000001 and cst name A100 become A0000000100 (always 10 digits after the prefix in letter)
you can use the standardize block in your (sligthly modified) script like this: