#sort variable
1 messages · Page 1 of 1 (latest)
birch wood = int_tag "priority" value 4
stone = int_tag "priority" value 1
glass = int_tag "priority" value 2
stick = int_tag "priority" value 3```
so what do i need to do that i will start the list with the stone and end it with the birch wood?
Exactly why you should use Java lol
Why not use the index for sorting
and how would you do that?
set {_list::2} to "Number 2"
set {_list::1} to "Number 1"
set {_list::3} to "Number 3"
loop {_list::*}:
broadcast loop-value```
when you loop it it is sorted by index
so ::1 then ::2, etc
you can use letters, whatever as well
Stupid solution in Java it's so much easier