for example. if i had a array with the values
{"10 print ‘Hello world!’ ", “5 lbl start”, "15 goto start’}
it world sort it to
{“5 lbl start”, "10 print ‘Hello world!’ ", “15 goto start”}
1 Like
This is doable! You could have the code recognize the first characters before the first space, translate into numbers, and then replace the original array with the sorted array. If you want I can make up an example!
Sure, could you make an example?
1 Like
Sure! Its a bit late here, so i might send it tomorrow morning.
This should work!!
I made it versitle so it can handle any array length, as long as THERE ARE NO NUMBERS OTHER THAN THE POSITION MARKER IN THE TEXTS! it will get confused otherwise.
1 Like
okay, send it whenever you want
1 Like
Thank you!
1 Like