Using Velocity Template Language (VTL), I would like to get the maximum value of an array. I was looking quite a while through the documentation of Apache Velocity but couldn't find a method for doing this.
Here is my sample array:
#set($array = [2,4,12,3,1,4,34,8])
$sorter.sort($array)
In this example, I would like to get 34