public function prepare_for_rendering( $trail ) {
		// Last chance to modify render settings before rendering.
		do_action( 'carbon_breadcrumbs_before_render', $this );

		// Whether to auto-sort the items.
		$auto_sort = apply_filters( 'carbon_breadcrumbs_auto_sort_items', true );
		if ( $auto_sort ) {
			$trail->sort_items();
		}
	}