Add "ancestor_sort" option to control the order ancestors get sorted.