added childOrder to search() function in sqlquery.class.php