.\"sort an array .DT sort_array Discworld driver help sort_array Name .SI 5 sort_array() - sort an array .EI Synopsis .SI 5 mixed *sort_array( mixed *arr, string fun, object ob ); .EI Description .SP 5 5 Returns an array with the same elements as `arr', but quicksorted in descending order according to the rules in `ob->fun()'. `ob->fun()' will be passed two arguments for each call. It should return -1, 0, or 1, depending on the relationship of the two arguments (lesser, equal to, greater than). Here are two common forms for the compare function to take: int compare(string one, two) { return strcmp(one, two); } int compare(int one, two) { return (one - two); } .EP