---
title: "resetSectionOrder(for:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/tabviewcustomization/resetsectionorder(for:)"
---

# resetSectionOrder(for:)

Resets ordering back to the default for the section with sectionID, preserving any customized tab visibilities.

## Declaration

```swift
mutating func resetSectionOrder(for sectionID: String)
```
