max result for tree listing set and ordering on id added