Usage
Syntax: array.sortdescending()
Explanation
Will sort an array in descending order (highest value first).
Example
function onCreated() {
temp.array = {"c", 1, "a", 2, "b", 3};
temp.array.sortdescending();
echo(temp.array);
}

... Will output {"c", "b", "a", 3, 2, 1} in RC when on the serverside, or in your F2 menu when on the clientside.
Categories
CategoryObjectFunction
CategoryFunctionClientside
CategoryFunctionServerside
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki