My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
sort  
Overview of sort
Updated May 10, 2010 by matr...@mac.com

sort

Action that sorts an array.

Usage

objx( array ).sort( [comparer] [, behaviour] )

array The array to sort
comparer (optional) A function that decides the sort criteria. If omitted default sort behaviour will be used.
behaviour See actions

Comparer

The comparer should take two arguments and return the value to sort on.

function(a, b) { ... }

Sign in to add a comment
Powered by Google Project Hosting