#Sorting in ascending order

1 messages · Page 1 of 1 (latest)

lethal aspen
#

How can I sort a bunch of variables and add them to a list variable in ascending order?

tropic kiln
#

set a temp list variable to the list you want to sort in ascending order

lethal aspen
#

I can't find anything helpful on google, and I don't know what to look up on any skript websites

bitter canyon
lethal aspen
#

Thanks

lethal aspen
#

You can also use set {_var::*} to sorted {otherVar::*}

bitter canyon
#

Yes that is what I showed

lethal aspen
#

Yeah, well there's multiple and that's which one worked the best

bitter canyon
#

yeah the various ones depend on the exact situation