24/7 Support: 800.608.6482

Get Started

Developer Docs

miva_array_sort

MivaScript Builtin Function, Miva Merchant 9+

Tag / Description

miva_array_sort( aggregate var, callback, data var )

<mvt:assign name="g.return_value" value="miva_array_sort( aggregate var, callback, data var )" />

This function will sort an array structure

Parameters

  • Aggregate

    The array that will be sorted. (the aggregate will be physically altered on return)

  • Callback

    The name of a user function that must exist in your program, defined as Callback(left var, right var, data var)

  • Data

    Not directly used in the miva_array_sort(), the value will be passed to the Callback function.

Return Values

Examples

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us
Receive Tips & Updates

Copyright © 2016 Miva, Inc - All Rights Reserved

Back To The Top