The function returns a new list with items in reverse order.
This function does not generate a change.
array.reverse()
None
A new list in reverse order.
Simple sort
// return a range in reverse order
range(5).reverse()
Return value in JSON format
[
4,
3,
2,
1,
0
]