dbx_sort

(PHP 4 >= 4.0.6)

dbx_sort --  Sort a result from a dbx_query by a custom sort function

Description

bool dbx_sort ( object result, string user_compare_function)

Returns TRUE on success, FALSE on error.

Note: It is always better to use ORDER BY SQL clause instead of dbx_sort(), if possible.

See also dbx_compare().