N
AME
sort_array
- sort an array
S
YNTAX
#include <array.h>
mixed *sort_array(mixed *
arr
,function
fun
,mixed ...
args
);
D
ESCRIPTION
This function sorts an array after a compare-function 'fun' which takes two arguments and should return 1 if the first argument is larger then the second. The rest of the arguments 'args' will be sent as 3rd, 4th etc. argument to fun. If fun is omitted, `< is unsed instead.
K
EYWORDS
array
S
EE
A
LSO
map_array
and
filter_array