I won't use the official format, because my question is too simple for that...
How can I reverse a variable list? When I use
it sorts the list in ascending order, but I need to have it in descending order... I don't mind to use any addon, my server version is 1.8.8 with some kind of development 2.2 skript and some addons.
Can someone help me to do that? I already searched in documentation and these forums, but wasn't able to find anything useful.
Thanks in advance.
Edit: I set my values in {_list::*} to negative values, so it sorted right way, but of course I had to remove later those "-" symbols from sorted values, but that isn't a big issue. I will keep this thread open for a day, maybe someone will know a better solution to this.
How can I reverse a variable list? When I use
Code:
set {_sorted::*} to sorted {_list::*}
it sorts the list in ascending order, but I need to have it in descending order... I don't mind to use any addon, my server version is 1.8.8 with some kind of development 2.2 skript and some addons.
Can someone help me to do that? I already searched in documentation and these forums, but wasn't able to find anything useful.
Thanks in advance.
Edit: I set my values in {_list::*} to negative values, so it sorted right way, but of course I had to remove later those "-" symbols from sorted values, but that isn't a big issue. I will keep this thread open for a day, maybe someone will know a better solution to this.
Last edited: