jaimex8
1/15/2016 - 12:25 AM

Miva Arrays

Miva Arrays

Create an array
miva_splitstring( string, sep, output var, flags )

Sort an array
<mvt:do file="g.Module_Library_Utilities" name="l.null" value="QuickSortArray( l.array, NULL, 1 )" />

Max Hegler [4:31 PM] 
you can use that function to sort arrays that have member structures too

just replace the `NULL` with `:member` … like `:price` for example

[4:31] 
and the third param is direction … `1` = asc and `-1` = desc