fix ordering of entities in get_bezier_element_entities()