#sort variable

1 messages · Page 1 of 1 (latest)

lime cliff
#

lets say the name of the int_tag is priority

#

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?

livid kettle
#

Exactly why you should use Java lol

tight jewel
#

Why not use the index for sorting

lime cliff
tight jewel
#
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

livid kettle
#

Stupid solution in Java it's so much easier