If someone can enlighten me on how to get the children to list in order of term_order (from ‘wp_terms’ table, I’m not sure which tables the ‘get_categories’ function uses), it would be greatly appreciated. You can see I try to do it with this on line 9:
$termorder = $cat->term_order;
and it kind of works, but the ordering is erratic and not in the actual ‘term_order’ order.