$array.sort

This Functions sort the given array.
Syntax
    $array.sort{array}
DocumentationThis Functions sort the given array.:

    Paramter:
      array - the array
    Returns:
      none
    Throws:
      ibm
Examples
    $array.add{$getCurrent{my_array}}{SITEFORUM}
    $array.add{$getCurrent{my_array}}{EUROPE}
    $array.add{$getCurrent{my_array}}{AG}

      $for{$set{a}{0}}
        {$less{$get{a}}{$toInteger{$getCurrent{my_array}}}}{$incLocal{a}}
        {
        $getCurrent{my_array[$get{a}]}
        }
    Returns:SITEFORUMEUROPEAG
    $array.sort{$getCurrent{my_array}}

      $for{$set{a}{0}}
        {$less{$get{a}}{$toInteger{$getCurrent{my_array}}}}{$incLocal{a}}
        {
        $getCurrent{my_array[$get{a}]}
        }
    Returns:AGEUROPESITEFORUM
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 2