Godot - Reverse array order
GDScript code example to reverse array order.
Can reverse array to sort in descending order using reverse()
in GDScript.
var array = ["apple", "lemon", "apple", "banana"]
array.reverse()
print(array)
# ["banana", "apple", "lemon", "apple"]