MinIndex

Description:

script:MinIndex(v1,v2,v3....)

Returns a 1 based index of the minimum value of the parameters.

Example:

script:MinIndex(\grid.a.1,\grid.a.2,\grid.a.3,\grid.a.4)

Result:

2 - if the second parameter has the lowest value.