Position drop-down arrow correctly on right.
Missing semicolon.
Schema change. No mptt, just use sort_order and type.