Section_sorted_by_endpoint