usort terms array by term_order